On Nov 3, 2005, at 6:13 AM, Gunlaug Sørtun wrote:
> 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:
>
> @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.
Hey Georg and others,
So, I would like to learn more about the above @media filter... If I
ever use it again, I want to be sure I am applying it correctly.
I have read that using @media will hide from these browsers:
• Netscape 4.x
• Mac IE 4.01
• Mac IE 5.0
• Win IE 4
• Konqueror 3.0
Questions:
1. Does anyone have a link to an (official) IE7 website/web-page that
talks about this filter?
2. Is this filter an acceptable alternative to conditional comments?
3. Could someone elaborate a bit more on this statement:
> put after all other styles so not to interfere with other @media rules
> if there are any
What happens if I do have other @media rules? If I did have other
@media rules, would I just combine them into one @media rule and put at
bottom of CSS?
Any help would be greatly appreciated. :)
Thanks m8s,
Cheers,
Micky
--
><(((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>
·´¯`·.¸. , . .·´¯`·...¸><((((º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><((((º>
______________________________________________________________________
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/