View Full Version : Import URL CSS

02-11-2008, 01:21 PM

I have created some new pages for my website which i have used the basic principles of using the following to link my webpage to my css. All the pages i uploaded last week using the code below work. However the 2 pages i created last night don't import the css. I am completely stumped why the pages will not import the css.

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


Any ideas?

02-11-2008, 02:09 PM
Try changing media="screen" to media="all"

02-11-2008, 08:33 PM
You could also try using

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

d a v e
02-11-2008, 08:43 PM
have you checked the paths are correct? try relinking the stylesheets

and you should have this
@import url("cfx.css");

note the quotes

02-11-2008, 10:15 PM
Thanks guys for your assistance i had to relink the css about 5 times before it would work. Not sure what the hell was going on with it....