View Single Post
  #1 (permalink)  
Old Nov 16th, 2007, 10:57
pas2gether pas2gether is offline
SuperMember

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
how CSS is referenced within the page.

I have seen some CSS implemented on a page in the following way.
<style type="text/css">
@import url(/css/style.css);
</style>


I thought the way to implement CSS was using the following text
<link rel="stylesheet" type="text/css" href="/css/style.css" />

Why would you use the first method ( @import url(/css/style.css);
)?
are there adavatages to ussing this method?
does it help in SEO?


Also in some cases I have seen both methods used, one for the scree css and the other for the print css. I am a little confused.
Reply With Quote