On 5/22/13 3:51 PM, Micky Hulse wrote:
------------

WITH ALL THAT SAID ...

I think it's important to note that, based on my tests, IE8 does not
load any styles within a media query block when the given media query
is:

@media { ... }

Demo page:

<http://jsbin.com/alugiv/5>

... but, from what I can tell, IE 6 and IE 7 DO load all CSS styles!

Isn't it interesting how adding "screen" or "all" makes old old IEs
behave the same way.


But why would you do that? (Use "@media" on its own, that is.)

Then again, "@media screen," "@media print," and "@media all" on their own are
not media queries. These are called "at-rules" and have been around for a long
time. Both "@media screen" and "@media all" apply to screen displays in all
browsers, not just IE (of any flavor).

For media queries and other CSS3 support questions, you may find this link
useful (despite its name :-) -

 <http://html5please.com>

--
Cordially,
David


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to