Re: media=" " needed in @import?

On Mon, 25 Mar 2002, Edward Cossette wrote:

><style type="text/css">
>@import url(/style/core.css);
>@import url(/style/print.css) print;
></style>
>
>Do I then need to change my initial <style> tag to look like this
>
><style type="text/css" media="screen, print"> ?????

No. Implicitly, style elements without a media-attribute should be
interpreted as having media="all". The media types used with the import
directives then further limit what is actually imported. The first one
means, of course, @import url(..) all; .

Queries like should probably be directed to the relevant CSS authoring
newsgroup instead of www-style.

Sampo Syreeni, aka decoy - mailto:decoy@iki.fi, tel:+358-50-5756111
student/math+cs/helsinki university, http://www.iki.fi/~decoy/front
openpgp: 050985C2/025E D175 ABE5 027C 9494 EEB0 E090 8BA9 0509 85C2

Received on Monday, 25 March 2002 16:06:03 UTC