On Tue, 31 May 2005 12:16:10 -0400, anthony croshaw <[EMAIL PROTECTED]> wrote:
When ever I try and use conditional comments to get rid of a problem in IE, I get the text of the comment at the top of the page - anyone know why this
is?
Feed CSS from an external file:
<!--[if IE]>
<link rel="stylesheet" href="../css/msie.css" type="text/css" />
<![endif]-->
or enclose declaration in
<style type="text/css">
h1 {color: red;}
</style>
 if inline within the conditioal comment like this:
<!--[if IE]>
<style type="text/css">
h1 {color: red;}
</style>
<![endif]-->
Also, I have started to use child selectors instead, as IE ignores these, is
this considered worse practice than a conditional comment?
Different strokes for different folks, I guess...?
Thanks for your help,
anthony
Regards,
David Laakso

--
http://www.dlaakso.com/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to