Using the link tag prevents parallel downloads in the same manner as the
script tag for javascript.
The style tag with the @import method does not.

Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Dorward
Sent: 25 November 2008 13:25
To: wsg@webstandardsgroup.org
Subject: Link or @import (was Re: [WSG] Which is read first? Scripts or
Styles?)

Foskett, Mike wrote:
> I'd add a furtherance to Steve Sounders / Yahoo's recommendations and
> use the @import method for style sheets and not link.

Why?

Netscape 4 isn't an issue any more so using @import to hide CSS from it
is pointless, but it does trigger a FOUC in MSIE, which is undesirable.

Embedding a stylesheet in a document which does nothing except load an
external stylesheet is conceptually inelegant (and very slightly off
track for the separation of style from content).

-- 
David Dorward                               <http://dorward.me.uk/>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************



-------------------Warning------------------------

This e-mail is from outside Tesco - check that it is genuine. Tesco may
monitor and record all e-mails.



---- Disclaimer ----
This is a confidential email.  Tesco may monitor and record all emails.  The 
views expressed in this email are those of the sender and not Tesco.

Tesco Stores Limited
Company Number: 519500
Registered in England
Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8 9SL
VAT Registration Number: GB 220 4302 31



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to