Reply to Getting DOCTYPE right

Your name:

Reply:


Posted by Nick Wedd on 02/20/07 18:22

At http://www.files.maproom.org/00/18/present.php?m=0004 you can see a
page which looks as I want it to. It validates (using the validator at
http://validator.w3.org/), except that it is missing a doctype tag.

So I have added the line
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
as recommended at
http://validator.w3.org/docs/help.html#faq-doctype, giving the page
http://www.files.maproom.org/00/18/presentrh.php?m=0004. This page is
identical to the other one apart from the addition of the doctype tag.
It validates perfectly, but looks wrong - the vertical spacing in the
table near the top is wrong.

I have tried other doctype tags, with the same, or worse, results. How
should I set about creating a page which looks right _and_ passes the
validator?

Nick
--
Nick Wedd nick@maproom.co.uk

[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

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