PDA

View Full Version : Need help picking out my last error please.


tinkerbell
08-03-2006, 08:45 PM
Today I ran my site through the Markup Validation Service
v0.7.2. It told me I had 146 errors, now I have tracked them all down to the last one but I cant for the life of me see why this last one is wrong.

Its from the ******** on forum home and this is what is on the template in question:

<!-- **** -->

<table class="tborder" cellpadding="**********" cellspacing="********" border="0" width="100%" align="center">
<thead>
<tr>
<td class="****" colspan="<*******="**********">6<else />5</if>">******* </td>
</tr>
<tr> <td class="***" colspan="<if condition="*********">6<else />5</if>">
<table align="******" border="0" width="100%">
<tr class="***">
<td align="center">
<a *****></a> </td>
<td align="center">
<a *******></a></td>
<td align="center">
<a ********></a> </td>
<td align="center">
<a *********></a> </td>
<td align="center">
<a *********></a> </td>
<td align="center">
<a *********></a> </td>

</tr>
</table>
</td>
</tr>
<tr>
<td class="***" align="center" colspan="<if condition="*******">6<else />5</if>">*******</td>
</tr>

</thead>
</table>

<!-- /***** -->

Error in different coloured text above.

This is the error the report gave me:
Error Line 517, column 7: end tag for "table" which is not finished .

</table>

Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.



I cant see the forest for the trees, please can anyone out there see the error and help me?


Thank you
Karen

Freesteyelz
08-04-2006, 04:23 AM
See if by removing the opening and closing tags <thead> and </thead> help.

tinkerbell
08-04-2006, 09:18 AM
Freesteyelz, thank you so much. Now I just have to keep it this way, LOL

W3C QA Markup Validation Service
v0.7.2


Jump To:

* Results

Result: Passed validation
Address: http://www.globalfamilyforum.com/index.php
Encoding: iso-8859-1
Doctype: XHTML 1.0 Transitional
Root Namespace: http://www.w3.org/1999/xhtml

Karen

Freesteyelz
08-05-2006, 03:22 AM
Anytime and congrats on your W3C compliance. That only pertains to forum home so run through your other forum pages and weed out any errors if any. :)

tinkerbell
08-05-2006, 08:10 AM
I have 4 errors on my homepage and although I have access to the ftp I have to learn more before I get rid of those. Just checked and yes I have more errors to correct on some mods but no big deal, there is no way I could have made those modifications myself and I am grateful to have them.

Will do what I can in templates now then get finished in w3schools before I attack my code on the server.

Thank you for the heads up that I have to check it all not just my homepage and forumhome. Guess I am going to be busy :knockedout:

Karen

Freesteyelz
08-05-2006, 12:10 PM
One of the joys of owning a forum. :)