Hi,

> Hi People,
> 
> I am a Tech Writer and Web Developer. I am usually a silent reader in
> WSG and being reading the amazing eye opening stuff about user
> accessibily, layouts and many interesting stuffs.
> 
> 1) 
> 
> I would like ask what is the difference between using <LINK REL> and
> @import statement in linking style sheets.
> 
> Both of them atatches the Style sheet to an HTML document, I would
> like to know the pros and cons of attaching with link rel or attaching
> with @import.
> 


ad 1)

@import url ("url_css_file") hides stylesheet from NN4, IE 3 and 4
(Win) and IE4.01 and 4.5 (Mac)

@import url (url_css_file) hides stylesheet from NN4, IE 3 and 4 (Win) and IE4
only reads it, when it lies in the same folder like the php- or htm-file

@import "url_css_file" (without "URL") hides it from NN4, IE 3 and 4 and
Konqueror 2.1.2 (Linux)

greetings
johannes


> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
> 
> 
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to