1. Is there a list showing browser support for @media?
Try the ever-helpful Site Point. The chart shows generally good
support (with some caveats):
<http://reference.sitepoint.com/css/at-media>
The chart mentions IE and Firefox are buggy - but be aware that they
are buggy in the opposite way to normal. The @media rules work well
across browsers. However, if no media type is specified, the entire
rule should be ignored as the W3C states: "Invalid statements must be
ignored". Oddly enough, both IE and Firefox support the rule when no
media type is specified.
2. I want to combine my ordinary CSS with my print style sheet by
including an @media print {} declaration - does it matter where this
goes in the stylesheet?
Your @media rules can be placed anywhere in the CSS file - unlike
other "@" rules. For example:
@charset must be the first line within your external CSS file
otherwise it is ignored (Safari ignores the entire CSS file)
<http://www.w3.org/International/questions/qa-css-charset>
@import rules must appear before any other rules in a CSS file (apart
from @charset).
<http://www.w3.org/TR/CSS2/cascade.html#at-import>
3. Do you know of any links which expand on @media, generally?
Definitive page on CSS2 @media:
<http://www.w3.org/TR/CSS21/media.html#at-media-rule>
A basic example page:
<http://www.w3schools.com/CSS/css_mediatypes.asp>
A good tip page: "Do Not Specify Media Types in the Markup"
<http://meiert.com/en/blog/20090617/maintainability-guide/#toc-media-types
>
Worth reading up on more complex CSS3 media query options:
<http://www.w3.org/TR/css3-mediaqueries/>
HTH
Russ
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************