That's right, and it often makes sense to put all of your IE-only
styles in a separate stylesheet. So, in the HTML <head> you might
have something like this:
<link rel="stylesheet" type="text/css" href="/css/default.css" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="/css/ie6.css" />
<![endif]-->
cheers,
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 25, 2007, at 1:23 AM, Michael Geary wrote:
<!-- ... -> is an HTML comment, not a CSS comment. So, conditional
comments
go in your HTML code, not in CSS code.
div.SiteHeader{
border: 1px solid #336566; /*AAAAAA*/
width: 850px;
background-color: #E3F0D6; /*D5F0D5,CDD9E5*/
height: 60px;
text-align: left;
margin: auto;
<!--[if IE 6]>
line-height: 60px;
<![endif]-->
}
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/