Hi everyone,
On a recent project we've decided to combine our @print media styles at the
bottom of our main stylesheet. eg.
@media print { /* Print styles */}
In our global template, the stylesheet is imported with the media attribute
screen. Using this attribute, the print styles are ignored.
I would say minimising http requests is 'best practice.'
Henrik
Henrik Madsen
+61 08 9387 1250
hen...@igenerator.com.au
www.igenerator.com.au
On 02/03/2012, at 8:40 AM, Ben Zeller wrote:
Hi everyone,
On a recent project we've decided to combine our @print media styles
at the bottom of
+1 on Henrik's remark.
On Fri, Mar 2, 2012 at 12:53 AM, Henrik Madsen hen...@igenerator.com.auwrote:
I would say minimising http requests is 'best practice.'
Henrik
[image: GENERATOR] http://www.igenerator.com.au/
*Henrik Madsen*
+61 08 9387 1250
hen...@igenerator.com.au
For only those two media, I'd use...
link rel=stylesheet href=css/style.css media=screen, print
...to avoid having to override existing all styles in case I wanted to add
stylesheets for other media.
***
List Guidelines:
On 02/03/2012 00:40, Ben Zeller wrote:
Hi everyone,
On a recent project we've decided to combine our @print media styles at the
bottom of our main stylesheet. eg.
@media print { /* Print styles */}
In our global template, the stylesheet is imported with the media attribute
screen. Using this
, March 01, 2012 4:54 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Combining media stylesheets - best practice
I would say minimising http requests is 'best practice.'
Henrik
http://www.igenerator.com.au/ GENERATOR
Henrik Madsen
+61 08 9387 1250
hen...@igenerator.com.au