Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
@import Vs Link (importing stylesheets)
Old 11-01-2006, 03:39 PM @import Vs Link (importing stylesheets)
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
I've seen two differnt methods of importing style sheets.

i've always used-

<link rel="stylesheet" type="text/css" href="stylesheet.css media="screen" />

But i've seen

<style type="text/css" media="screen">
/* <![CDATA[ */
@import url(stylesheet.css);
/* ]]> */
</style>


Could anyone please tell me what the differences are.

thanks
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
 
Register now for full access!
Old 11-01-2006, 09:21 PM Re: @import Vs Link (importing stylesheets)
Nahele's Avatar
Extreme Talker

Posts: 204
Trades: 1
http://www.mail-archive.com/wsg@webs.../msg00841.html
__________________
The worst things in life allow us to appreciate the best things

virtual kudos (a.k.a. talkupation) always welcome where deserved.
Nahele is offline
Reply With Quote
View Public Profile
 
Old 11-02-2006, 10:10 AM Re: @import Vs Link (importing stylesheets)
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
thanks for the reply Nahele.

so

HTML Code:
<style type="text/css" media="screen">
/* <![CDATA[ */
@import url(stylesheet.css);
/* ]]> */
</style>
is just another way of cutting out unwanted browers. I think i'll stick with using

HTML Code:
<!--[if lt IE5]>
<link rel="stylesheet" type="text/css" href="stylesheet.css media="screen" />
<![endif]-->
thanks again
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Reply     « Reply to @import Vs Link (importing stylesheets)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40199 seconds with 12 queries