You need to put your IE specific css in a separate css file and put the html link to that file inside the conditional comments.
If you want to put IE specific css settings inside your css file, you can use a hack (hack = not supported. MS has committed to supporting conditional comments). One of those is the underscore hack: '_line-height: 60px;'. Other browsers ignore this invalid property, but IE skips merrily over it and parses line-height. NOTE: this IS a hack, which means that it could stop working at some point. Conditional comments will always work. Blair On 1/25/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
Micheal, so that only works with inline <style>s? On 1/24/07, Michael Geary <[EMAIL PROTECTED]> 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 > discuss@jquery.com > http://jquery.com/discuss/ > -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/