Reply to Re: Web page display ok in IE 7 but not Firefox 2.0.0.2

Your name:

Reply:


Posted by Jukka K. Korpela on 03/06/07 08:14

Scripsit Neredbojias:

> Actually, I wonder if it displays "correctly" in any browser without a
> doctype.

Without a document type declaration, an HTML document is not correct
(technically, not an HTML document at all), so strictly speaking, the
concept of correct rendering is meaningless.

On the other hand, browsers use document type declarations _only_ as magic
strings in selecting between two (or sometimes three) rendering modes, a
broken one (called "standards mode") or a _very_ broken one (called "quirks
mode"). Omitting a document type declaration is a sure way of putting the
browser into the very broken one. But you can't make things worse than that.

In fact, merely adding a correct document type declaration into a document
that otherwise grossly violates HTML and CSS specifications would very
probably make things _worse_.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original 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

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