You are here: Re: problem with css media print in IE « HTML « IT news, forums, messages
Re: problem with css media print in IE

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация