Ik probeer mijn site te valideren bij w3c en krijg deze melding
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.uisge-beatha.eu%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&No200=1&verbose=1&user-agent=W3C_Validator%2F1.654#line-547
Ik zie in de template staan wat de fout veroorzaakt:# Error Line 547, Column 34: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "" or "") inside an inline element (such as "", "", or "").
Code: Select all
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<div class="NewsSamenvatting">
<table>
<tr>
<td>{if $entry->postdate}
<div class="NewsSummaryPlaatsingsdatum">
{$entry->postdate|cms_date_format}
</div></td>
<td><div class="NewsSummaryLink">
{$entry->titlelink}
</div>
{/if}
</td>
</tr>
</table>
Hoe zou ik dat dan in de template voor elkaar kunnen krijgen?feb 24, 2010 Er is er een jarig
hoera, hoera, dat kun je wel zien dat is zij...
feb 9, 2010 Iets nautisch doen
Laten we zondag iets nautisch gaan doen...
Gregor