The link tag is html, @import is CSS.   You can use @import from within a
stylesheet (has to be the first text) to include many stylesheets with a
single <link> tag

Also import is not recognized by netscape 4 so it can be used to hid
stylesheets from older browsers.


Rey Bango-2 wrote:
> 
> 
> Hi guys,
> 
> In looking at another thread about jTip, I noticed that the css file was 
> including like this:
> 
> @import '/public/js/jtip/css/jtip.css';
> 
> What's the difference and/or benefit of using "@import" vs "link" to 
> include a stylesheet?
> 
> Rey...
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%40import-vs-link-tf4296227s15494.html#a12229107
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to