Visualizzazione risultati 1 fino 2 di 2

Discussione: Div,Frame e Table Non riesco a validare 3 errori!

  1. #1
    Guest

    Unhappy Div,Frame e Table Non riesco a validare 3 errori!

    Ciao a tutti!
    Oggi ho deciso di validare il mio sito, pensavo fosse quasi impossibile con 190 errori , ma ho impiegato poco tempo, ora non riesco a validare 3 errori che trovate qui: http://validator.w3.org/check?uri=ht...idator%2F1.606
    Sapete dirmi come posso fare? Grazie a tutti per l'interesse!

  2. #2
    L'avatar di miki92
    miki92 non è connesso AlterGuru 2500
    Data registrazione
    21-04-2007
    Residenza
    Procida (NA)
    Messaggi
    4,226

    Predefinito

    Sostituisci:
    Codice HTML:
    <!-- Begin Sparklit HTML Code -->
    <form name="Choices1089610" action="http://vote.sparklit.com/poll.spark?pollID=1089610"  method="post"> 
    <input type="hidden" name="ID" value="1089610" /> 
    <table id="DisplayVote1089610" width="123"><tr><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Che cellulare usi?<br /><br />
    <table border="0" width="100%" style="margin-bottom: 12px">
    <tr><td width="20" valign="top"><input name="ballot" type="radio" value="0" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Nokia</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="1" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Sony Ericsson</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="2" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Motorola</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="3" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Samsung</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="4" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">LG</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="5" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Altro...</font></td></tr> 
    </table>
    <input type="submit" value="Vota!" name="submit" /><br />
    <a href="http://vote.sparklit.com/poll.spark/1089610"  style="font-family: ARIAL,HELVETICA; color: #000000; text-decoration: underline">Visualizza Risultati</a>
    <br /><a href="http://www.sparklit.com/pc/?ID=1089610"></a>
    </font>
    </td></tr></table>
    </form>
    <!-- End Sparklit HTML Code -->
    Con:
    Codice HTML:
    <!-- Begin Sparklit HTML Code -->
    <form name="Choices1089610" action="http://vote.sparklit.com/poll.spark?pollID=1089610"  method="post"> 
    <input type="hidden" name="ID" value="1089610" /> 
    <table id="DisplayVote1089610" width="123"><tr><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Che cellulare usi?</font>
    <br /><br />
    <table border="0" width="100%" style="margin-bottom: 12px">
    <tr><td width="20" valign="top"><input name="ballot" type="radio" value="0" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Nokia</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="1" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Sony Ericsson</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="2" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Motorola</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="3" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Samsung</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="4" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">LG</font></td></tr>  <tr><td width="20" valign="top"><input name="ballot" type="radio" value="5" /></td><td><font size="-1" color="#000000" style="font-family: ARIAL,HELVETICA">Altro...</font></td></tr> 
    </table>
    <input type="submit" value="Vota!" name="submit" /><br />
    <a href="http://vote.sparklit.com/poll.spark/1089610"  style="font-family: ARIAL,HELVETICA; color: #000000; text-decoration: underline">Visualizza Risultati</a>
    <br /><a href="http://www.sparklit.com/pc/?ID=1089610"></a>
    </td></tr></table>
    </form>
    <!-- End Sparklit HTML Code -->
    Il problema era che avevi chiuso il tag <font> un po' troppo avanti e quindi la tabella veniva inserita in questo tag e validandola era un errore in quanto un tag <font> non può contenere una tabella.
    Apprezzi l'aiuto? Offrimi un caffè!

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •