[thelist] @media and @import
fstorr
fffrancis at fstorr.demon.co.uk
Sun Nov 6 07:04:11 CST 2005
Hi all
I'm trying to import a print stylesheet from within a stylesheet with
media types of "screen, print". The syntax, which seems like it
should work but doesn't (in IE, FF, Safari and Opera), is this:
@media print{
@import url("print.css");
}
Is there actually a way to import (rather than just specify via a
load of @media rules) a media-specific stylesheet from within another
stylesheet? I'm aware that it can obviously done via the <head> of
an HTML document, but that's not what I'm after.
Regards
F
More information about the thelist
mailing list