Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Microsoft Conditional Comments


Clair - 6:00 pm on Mar 2, 2007 (gmt 0)


I have read this series of posts as well as much else on the web and am using the following in my HTML file. But there seems to be a problem.

<head>
<!--[if!IE ] <link href="re-style.css" rel="stylesheet" type="text/css"> <![ENDIF]-->

<!--[if gte IE 6] <link href="re-style.css" rel="stylesheet" type="text/css"> <![ENDIF]-->

<!--[if lt IE 6] <link href="re-iehack5.css" rel="stylesheet" type="text/css"> <![ENDIF]-->
</head>

When I specifically include the normal (unconditional) link for any of
the stylesheet without any others, the page displays perfectly in all the browser versions.

When I include the conditionals as they are shown above I get no style at all in *any* of the browsers -- What am I missing?

Have ended up trying this route after about 16 hours of messing up beautiful layout that worked in 6,7, and FF2.

Desperate for some help as I am against wall to provide support for IE 5.x. Grrrrrrr

Thanks.

[edited by: Clair at 6:10 pm (utc) on Mar. 2, 2007]


Thread source:: http://www.webmasterworld.com/css/3232700.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com