![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to use the following code to import my CSS style sheet but Dreamweaver MX 2004 isn't reconiging my style sheet I Would like to do it this way so I can define another stylesheet when printing. Thanks, style type="text/css" media="all">@import url(http://www.lvthunder.com/layout.css);</style |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I'm trying to use the following code to import my CSS style sheet but Dreamweaver MX 2004 isn't reconiging my style sheet |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I don't think you can import a stylesheet in a <style> tag. |
#7
| |||
| |||
|
|
But its more useful to link to it as a short-absolute path. This way DMX doesn't change its path, and also it can be found from any file on the site. And... there are two ways to link to a style sheet using the @import rule. (1.) <style type="text/css"> @import: url(/css/index.css) </style (2.) <style type="text/css"> @import "/css/index.css" </style |
#8
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |