![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
@import url("style/screen2.css") screen; @import url("style/print.css") print; IE6.0 Does'nt render the styles at all but Opera and Netscape do. |
#2
| |||
| |||
|
|
Note that this method is not spec compliant, a stylesheet that is linked in without a specified media type is supposed to apply to screen only, Where in the spec does it say this? The media reference I found says quite the opposite: URL:http://www.w3.org/TR/CSS2/cascade.html#x5 "In the absence of any media types, the import is unconditional. Specifying 'all' for the medium has the same effect." |
#3
| |||
| |||
|
|
kchayka <usenet (AT) c-net (DOT) us> wrote: Note that this method is not spec compliant, a stylesheet that is linked in without a specified media type is supposed to apply to screen only, Where in the spec does it say this? The media reference I found says quite the opposite: URL:http://www.w3.org/TR/CSS2/cascade.html#x5 "In the absence of any media types, the import is unconditional. Specifying 'all' for the medium has the same effect." http://www.w3.org/TR/html401/present...tml#adef-media media = media-descriptors [CI] This attribute specifies the intended destination medium for style information. It may be a single media descriptor or a comma-separated list. The default value for this attribute is "screen". |
![]() |
| Thread Tools | |
| Display Modes | |
| |