On Sep 11, 2011, at 11:15 PM, Rick Lecoat wrote:

> On a related note, do you (or does anyone else) have any recommendation 
> regarding whether to include the media query in the markup’s <link> tag, or 
> in the CSS as an @media rule?

It depends :-). For a relatively simple stylesheet, with many common style 
rules, it makes sense to keep everything in one stylesheet and use @media 
queries inside that one file. If however there are may differences between 
large screen / small screen styling, keeping them separate could make sense to 
reduce the download size for mobile / small screen devices - eventually at the 
cost of one more http request.

I also remember talking to a guy based in Eastern Africa, using 
not-so-powerfull Nokia phones. We found that those devices had problems 
handling gzipped stylesheets - it actually slowed down the rendering because 
the device was slow in uncompressing the file. Nothing scientific, mind you.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
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