Previous Message
Next Message

@import

Sent by Steve Clay on 3 October 2004 20:08


Friday, October 1, 2004, 7:41:58 PM, Michael wrote:
MH> How would you convert the following to use the @import if it can be done?
MH> <link rel="stylesheet" href="css/style.css" type="text/css">
MH> <link rel="alternate stylesheet" type="text/css" href="css/large.css" 
title="A++">>

instead of hiding them at the markup level, hide them in the linked CSS:

style.css:

@import "layout.css";
@import "elements.css";

large.css:

@import "layout.css";
@import "elements.css";
#content {font-size:120%;}

xx-small.css:
@import "layout.css";
@import "elements.css";
#content {font-size:75%;}

etc..

Steve
-- 
http://mrclay.org/ : http://frenchhorns.mrclay.org/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: