You are here: Re: Pls help me to validate some code! « HTML « IT news, forums, messages
Re: Pls help me to validate some code!

Posted by Andy Dingley on 08/06/07 12:34

On 6 Aug, 12:32, jollyroger <allpurpose...@gmail.com> wrote:

> I have a table that will only validate if I use inline or an attached
> style.

You have a mixture of HTML 3.2 code (<table> and presentational
attributes) and XHTML. Please replace this pointless craziness with
something sensible first. It's pointless to put work into a micture
like this.

* Use HTML 4.01 Strict rather than XHTML - XHTML is of no help to you
and it's one more thing to confuse you.

* Use HTML 4.01 Strict and CSS rather than HTML 3.2 markup with
presentational attributes. It's hard work and pointless to try
debugging the mixture of both.

* Lose the <table>, if you possibly can. Legacy issues and available
time might make this impractical.

* Use CSS in a stylesheet (internal or external) if possible, or
inline style elements if you absolutely must.

* Validate your HTML and CSS to catch the trivial syntax errors

* Post a URL to a working example, not a code fragment

 

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

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