You are here: Re: Print preview / printing screwed up in IE but not in Mozilla/ Firefox - Whazzup?? « HTML « IT news, forums, messages
Re: Print preview / printing screwed up in IE but not in Mozilla/ Firefox - Whazzup??

Posted by Gιrard Talbot on 11/12/50 11:22

Jedi Fans wrote :
> Jim Moe wrote:
>
>> Neo Geshel wrote:
>>
>>> I'm helping on a web site, and it's got our knickers in a knot. We're
>>> using the same basic CSS files (with mods) and same headers as from
>>> our other sites, but the "print preview" won't work correctly on this
>>> site.
>>>
>> There are a lot of validation errors. Perhaps fixing those might help.
>> Also, since you have "IE7 enhanced" at the bottom, which IE are you
>> using?
>> IIRC IE6 also does not appreciate "<?xml ...>" at all. It puts IE
>> into Quirks mode.
>>
> the xml statement is required by the w3c recommendations for xhtml 1.0/1.

"An XML declaration is not required in all XML documents; however XHTML
document authors are strongly encouraged to use XML declarations in all
their documents."
http://www.w3.org/TR/2002/REC-xhtml1-20020801/#strict
Strongly encouraged but not required. As mentionned by others, the XML
declaration prevents MSIE 6 from being triggered into web standards
compliant rendering mode. So for best cross-browser compatibility, it is
preferable to avoid declaring the XML declaration.

GΓ©rard
--
remove blah to email me

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация