- Home
- Categorie
- Digital Marketing
- Grafica, Visual Design & UX
- Aiuto! con w3 validator
-
Aiuto! con w3 validator
Sto convalidando il mio sito con la Markup Validation Service
Check the markup (HTML, XHTML, ?) of Web documents del sito diL'unico problema che mi appare è questo errore che vi riporto interamente:
Citazione:
Line 465, Column 11: 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.
E che si riferisce alla pagina della colonna centrale del mio templates di mkportal e che vi riporto interamente(cosi com'è in spazi e tutto):
Citazione:
<td valign="top" align="left" width="100%">
<table cellpadding="0" cellspacing="3" border="0" width="100%">
{$blocks}
</table>
</td>Dov e il problema che devo modificare ?
Aiutatemi please!
grazie anticipatamente
-
Ciao, l'errore è dato dal fatto che hai messo <td> prima di <table>.
Devi scrivere così:
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<td valign="top" align="left" width="100%">
{$blocks}
</td>
</table>
-
Grazie per la tua risposte veloce
Ho provato anche a fare così!Ma se modifico in questo modo, le due colonne di destra e di sinistra del template si spostano e rendono il portale una
cosa posso fare!?
-
@alexander_89 said:
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.
Potrebbe essere questo il problema. Nella table interna al <td> relativo mancano elementi child. Un tag <tr> e un <td> vuoti, anzi con dentro quel {$blocks}.
Proverei così:
@alexander_89 said:
Citazione:
<td valign="top" align="left" width="100%">
<table cellpadding="0" cellspacing="3" border="0" width="100%">
{$blocks}
</table>
</td>Dov e il problema che devo modificare ?
Aiutatemi please!
grazie anticipatamente<td valign="top" align="left" width="100%">
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr><td>{$blocks}</td></tr>
</table>
</td>Magari non risolvi. Ma un tentativo lo farei.