Sitemap.html is generated using <td colspan="<TVAR level100>"> which on first pass put the colspan value at 100. This is not a strictly correct method as the table does not have that many columns in its structure.

It is however acceptable by the XHTML 1.0 Transitional validator but if we convert to HTML5 (as we should all be doing) then we get an error generated by the validator saying "Table columns in range 5…100 established by element td have no cells beginning in them."

Can we have a fix please

Hello,

you can use the following code in generator/pages/mods/sitemap_tpl.html template file:

Code: [Select]
<TLOOP slots>
<tr valign="top">
<td class="lpart">
<table width="100%" cellpadding="0" cellspacing="0"><tr>
<TLOOP alevel><td class="lbullet">&nbsp;&nbsp;&nbsp;&nbsp;</td>
</TLOOP>
<td width="100%">
<div class="lhead"><TVAR folder><span class="lcount"><TVAR cnt> <TIF cntmulti>pages<TELSE>page</TIF></span></div>

<table cellspacing="0" cellpadding="0" width="100%">
<TLOOP pages>
<tr><td class="lpage"><a href="<TVAR link>" title="<TVAR title_clean>"><TVAR title></a>
<TIF desc><br /><small><TVAR desc></small></TIF>
</td></tr>
</TLOOP>
</table>
</td></tr></table>

</td>
</tr>

</TLOOP>

(find existing <TLOOP slots>...</TLOOP> part and replace with the code above)
 Thank you for the prompt reply and solution that works.

Note for others: Of course still had to change the new code in as far as formatting the table with CSS to comply with HTML5.

Kind Regards
Michael