Forum Moderators: open

Message Too Old, No Replies

Validation Mystery

"empty container element"?

         

fashezee

4:49 pm on Jan 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I validated my site and received the following error message:

Error: empty container element <TD>.

Not sure whatis means?

Nick_W

4:52 pm on Jan 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Odd, I just had to validate some pages with empty table cells for xhtml 1.1 and the validator had no problem.

For which dtd are you trying to validate for?

Nick

fashezee

6:55 pm on Jan 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It does not tell me what DTD. I tested my site out on echoecho.com?

What attributes should the <TD> and <TR> tags have generally?

DrDoc

7:13 pm on Jan 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What he means is: Which DOCTYPE are you using, specified in the beginning of your document?

Also, with "empty" .. are we talking about empty as in no content (<td></td>) or empty as in no attributes (<td>Blah</td>)?

keyplyr

7:40 pm on Jan 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




Just a guess, but you probably need to put something inside the <td> elements. This usually works: <td>&nbsp;</td>