Michael Hulse wrote:
> I only want to target IE5.0/PC only. I also want to do it inline with
> the rest of my styles.
CSS filters are generally unsafe - except when used correctly to
separate "dead" browsers from the "living".
IE6 and previous versions are "dead", and can be filtered out safely.
CSS filter for IE5+/win only, targeting versions less than IE7.
Can be used in 'styles in page head' and 'external stylesheets'.
Must be used _complete with @media rule_, and put after all other styles
so not to interfere with other @media rules if there are any. No further
separation needed.
Example with your styles:
@media all {
* html #nv ul li a {
float: right /* IE5.0 + 5.5 + 6 win */;
float/**/: none /* IE5.5 win */;
fl\oat: none /* IE6 win */;
}
}
...safe filter if later versions than IE6 are set to run in 'standard
mode', according to the Microsoft IE7 team.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
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/