Posted by John Hosking on 03/29/07 19:35
antoniojc75@yahoo.com wrote:
> Here is how I
> referenced them on the page:
>
> <style type="text/css" media="screen">@import url(c/screen.css);</style>
> <style type="text/css" media="print">@import url(c/print.css);</style>
When having troubles getting browsers to treat your coding the way you
want or expect, consider the possibility that the browsers might
actually be doing things right, and check the specs:
http://www.w3.org/TR/REC-CSS2/cascade.html#at-import
Notice the quotes in the W3C's version?
(If you actually have the quotes on your real page, it's a confirmation
that you should have provided a URL.)
HTH
--
John
Navigation:
[Reply to this message]
|