Reply to Re: Now take a look...

Your name:

Reply:


Posted by Els on 08/18/05 09:04

Ed Jay wrote:

> "Montgomery BOO...URNS" <solitude439@rcn.com> wrote:
>
>>http://www.shobers.com/home.htm (still under construction)
>
> When I use:
> <center><div class=xx>stuff</div></center>
> and try to validate the page, I get an error message telling me that
> <center> is deprecated. But, when I validated your page, I only got the
> error that you had no ending tag for your <center><div>...
>
> Where have I gone wrong?

You haven't gone wrong.
The OP is just using a transitional doctype. That doctype is meant for
documents which are "in transition". It allows for deprecated
elements, to make it easier on the person who is editing the page I
guess :-)
New documents are best written in Strict, which doesn't allow for
deprecated heritage from old webpages.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

[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

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