PDA

View Full Version : Guest message not valid?


cyberphr
04-29-2007, 10:51 AM
I've finished most of my next public release theme, but according to W3's XHTML Validator, the guest welcome message isn't valid!

The supposed error:
Line 1213, column 7: end tag for "table" which is not finished .

That table tag being the final tag seen below.

I'm beginning to think it's wrong... Does anyone see a problem with this?
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>

<tr>
<td class="tcat" colspan="5">Welcome to the Cyber-Phreaks Forums.</td>
</tr>
<tr>
<td class="alt1" colspan="5">
If this is your first visit, be sure to check out the <a href="faq.php?"><strong>FAQ</strong></a> by clicking the link above.
You may have to <a href="register.php?"><strong>register</strong></a> before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
</td>
</tr>

</thead>
</table>

CyberAlien
04-29-2007, 11:29 AM
Remove <thead> and </thead>. Validator doesn't like when you have <thead>, not don't have <tbody> and <tfoot> in a table.

cyberphr
04-29-2007, 12:03 PM
Remove <thead> and </thead>. Validator doesn't like when you have <thead>, not don't have <tbody> and <tfoot> in a table.

Thanks, that worked. I don't usually use those tags, other than in vBulletin.