[thelist] Css and IE? PATCHED

Austin Harris austin at dotmail.co.uk
Tue Feb 6 03:17:51 CST 2007


If you want to test that it is a certain style you can put an underscore before the style, (I do this to get things right and then go and "clean up" later on...)

eg.

height: 100px;
_height: 120px;

Quick and dirty but does mean you can crack on with getting the rest of it right.

> 
> For that sort of thing happening in IE6, Microsoft recommends (as do
> I) using 
> a "conditional comment" to serve up the alternate styles need for that
> 
> particular element. Uses fewer server resources, forward compatible,
> etc. 
> etc.
> 
> Example for a style sheet and javascript file for less than IE version
> 7, 
> placed in the head section after your other style sheet links so it
> falls 
> last in the cascade:
> 
> <!--[if lt IE 7]>
> <link href="/css/ie6.css" rel="stylesheet" type="text/css" />
> <script src="/js/ie6flikr.js" type="text/javascript"></script>
> <![endif]-->
> 
> More info:
> http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp
> -- 
> cheers,
> 
>         mark
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt !




More information about the thelist mailing list