|
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]
|