fstorr wrote:
> http://www.thespiceweasel.com/experiments/css/

> Is importing CSS like this actually possible?

Yes, but you have a specificity-problem. Same specificity in both
stylesheets, and the last definition is winning - "red".
------
@media print{
body h1{ color:blue;}
}
------
...will work as intended.

Better still; wrap all screen-styles in a media-rule, to separate them
from all other media:
------
@import url("print01R.css");
@media screen {
h1{color:red;}
}
------
@media print{
h1{ color:blue;}
}
------
...no specificity-problems or media-confusion left.

This is exactly how I do it, btw - with a "twist" for IE/win, and a
comment for IE/Mac.
Example: <http://www.gunlaug.no/contents/styles/ag2c-041101.css>

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to