Host Intens Posted July 30, 2008 Share Posted July 30, 2008 Downloads page is not valid any ides <p>{$LANG.downloadsintrotext}</p> <p><strong>{$LANG.downloadscategories}</strong></p> <table width="100%"> <tr> {foreach key=num item=dlcat from=$dlcats} <td width="33%" valign="top"><strong><a href="downloads.php?action=displaycat&catid={$dlcat.id}"><img src="images/support/folder.gif" border="0" align="middle" alt="" /> {$dlcat.name}</a></strong> ({$dlcat.numarticles})<br /> {$dlcat.description} </td> {if $num is div by 3} </tr> <tr> {/if} {/foreach} </tr> </table> <br /> <table width="100%" cellspacing="0" cellpadding="0"><tr><td width="50%" valign="top"> <p><strong>{$LANG.knowledgebasepopular} {$LANG.downloadstitle}</strong></p> <table width="100%"> {foreach key=num item=download from=$mostdownloads} <tr><td> <p>{$download.type} <a href="{$download.link}"><strong>{$download.title}</strong></a><br />{if $download.clientsonly}<i>Login Required</i><br />{/if}{$download.description}<br /><font style="color:#A8A8A8;font-size:10px;">{$LANG.downloadsfilesize}: {$download.filesize}</font><br /><br /></p> </td></tr> {/foreach} </table> </td><td width="50%"> <form method="post" action="downloads.php?action=search"> <p align="center"><strong>{$LANG.knowledgebasesearch}</strong><br /><input type="text" name="search" size="25" /><br /><input type="submit" value="{$LANG.knowledgebasesearch}" /></p> </form> </td></tr></table> Validation Output: 2 Errors Line 52, Column 4: end tag for "tr" which is not finished. </tr>✉ 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, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on. Line 62, 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, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on. 0 Quote Link to comment Share on other sites More sharing options...
Redundant Posted July 30, 2008 Share Posted July 30, 2008 Are you trying to validate to Strict? Really hard to say. IIRC, some validations will reject <table> tags with width= valign= etc. Similarly, tags such as td width= would be included. This should be in CSS, as its presentation. <br /> is another one I think strict validation rejects. You should look at the page-source not the .tpl when comparing validation notes to your output. 0 Quote Link to comment Share on other sites More sharing options...
Host Intens Posted July 31, 2008 Author Share Posted July 31, 2008 This is one of the lines <table width="100%">{foreach key=num item=download from=$mostdownloads} <tr><td> <p>{$download.type} <a href="{$download.link}"><strong>{$download.title}</strong></a><br />{if $download.clientsonly}<i>Login Required</i><br />{/if}{$download.description}<br /><font style="color:#A8A8A8;font-size:10px;">{$LANG.downloadsfilesize}: {$download.filesize}</font><br /><br /></p> </td></tr> {/foreach} </table> this is the last one <table width="100%"><tr> {foreach key=num item=dlcat from=$dlcats} <td width="33%" valign="top"><strong><a href="downloads.php?action=displaycat&catid={$dlcat.id}"><img src="images/support/folder.gif" border="0" align="middle" alt="" /> {$dlcat.name}</a></strong> ({$dlcat.numarticles})<br /> {$dlcat.description} </td> {if $num is div by 3} </tr> <tr> {/if} {/foreach} </tr> </table> i need help whit this one 0 Quote Link to comment Share on other sites More sharing options...
juiced Posted August 4, 2008 Share Posted August 4, 2008 Maybe post alink to your site and i'll take a look for you. = bit har to tell from here, need to see all thats going on. Cheers 0 Quote Link to comment Share on other sites More sharing options...
ispCP-Monk Posted September 9, 2009 Share Posted September 9, 2009 This is one of the lines this is the last one i need help whit this one Hi, ...{/foreach} <td></td></tr> </table> now is valide -------------------------------------------------------------------------- my site: {foreach key=num item=download from=$mostdownloads} <div class="top5"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><img src="images/top.gif" border="0" class="absmiddle" alt="" /> <strong><a style="color:#333333;font-size:12px;" href="{$download.link}">{$download.title}</a></strong><br /> <span style="margin-left:0px;color:#666;font-size:11px;">{$download.description|truncate:120:"..."}</span><br /> <span style="color:#333;font-size:11px;"><b>{$LANG.downloadsfilesize}: {$download.filesize}</b></span><br /> <br /> </td> </tr> </table> </div>{/foreach} 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted September 9, 2009 Share Posted September 9, 2009 Man... You do realise that thread is 12 months old!! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.