jack fredricks wrote:
> I can't seem to get this rule to work on IE6 or FF;
>
> @import url("fineprint.css") print;
>
> http://www.w3.org/TR/CSS2/cascade.html#at-import
>
>
> The file and the file location are fine (a standard LINK element
> works). It's just the @import version that breaks.
>
> Is this just bad UA support?
Yes!
> Is there a known work around?
Workaround... yes.
> or am I just mad?
Hmmm... probably :-)
Workaround:
I use the following method to @import print-stylesheets into my main
stylesheets...
@import url("fineprint.css");
(yes, an ordinary @import without media-pointer.)
Then, in my 'fineprint.css' i wrap the entire styleset in an ordinary...
@media print {
...all print styles...
}
...and all browsers that understand @media will apply the css for
printing. That excludes IE/Mac and IE4/win and other old browsers.
I use the same @media rule in stylesheets for screen, print and
projection, and whatever other media I want to support.
IE/Mac is let in on screen-styles through a hack, and also given its own
set of styles for screen in order to overcome some of its limitations.
More info:
<http://www.gunlaug.no/contents/wd_1_04.html>
<http://www.gunlaug.no/contents/wd_1_04_01.html>
<http://www.gunlaug.no/contents/wd_1_05.html>
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/