Dynamic style sheets

liunx

Guest
I'll use numbers and letters to try and clarify what I'm asking.

Is there any way to put links into my CSS file "1" which link to CSS files "A", "B", "C" and "D"?

That way, I could also have a CSS file "2" which links to CSS files "C", "D", and "E".

And a CSS file "3" which links to "A" and "E".

And so on. Thanks! Linda MoranYes, first a css link
<link rel="StyleSheet" href=http://www.webdeveloper.com/forum/archive/index.php/"css_1.css" type="text/css" />
then css_1.css would contain:
@import url(styles_A.css);
@import url(styles_B.css);
@import url(styles_C.css);
@import url(styles_D.css);

<link rel="StyleSheet" href=http://www.webdeveloper.com/forum/archive/index.php/"css_2.css" type="text/css" />
then css_2.css would contain:
@import url(styles_C.css);
@import url(styles_D.css);
@import url(styles_E.css);

<link rel="StyleSheet" href=http://www.webdeveloper.com/forum/archive/index.php/"css_3.css" type="text/css" />
then css_3.css would contain:
@import url(styles_A.css);
@import url(styles_E.css);Fang - Thank you. This solved my problem.

Linda Moran
 
Back
Top