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