+1 on Henrik's remark. On Fri, Mar 2, 2012 at 12:53 AM, Henrik Madsen <hen...@igenerator.com.au>wrote:
> > 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 > 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 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. > <link rel="stylesheet" href="css/style.css" media="screen"> > > The following markup options offer a solution to the problem: > > 1. <link rel="stylesheet" href="css/style.css"> > 2. <link rel="stylesheet" href="css/style.css" media="all"> > > I guess the question I have is whether there are any caveats with either > method, and if there is a best practice solution? > The doc type is XHTML 1.0 Transitional if this is relevant. > > Kind regards, > Ben Zeller > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > ******************************************************************* > > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: memberh...@webstandardsgroup.org > ******************************************************************* -- Jason Grant BSc [Hons], MSc [Hons] Customer Experience Architect Flexewebs Ltd. www.flexewebs.com ja...@flexewebs.com +44 (0)7748 591 770 www.linkedin.com/in/flexewebs www.flexewebs.com/semantix www.twitter.com/flexewebs ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************