Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    <li> non devi stare li....

    salve!
    ho provato a validare il codice della mia pagina....ma mi da un errore strano....eccolo qui sotto
    Error Line 22, column 9: document type does not allow element "LI" here; missing one of "UL", "OL", "DIR", "MENU" start-tag .[*]HOME PAGE

    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 "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
    sapete aiutarmi?

    codice:
    <table width="100%" border="0" class="Menu" cellspacing="0" cellpadding="0">
      <tr>
        <td>[*]HOME PAGE[*]CURRICULUM
    	<?
            if (isset($_GET['pg'])) {
            if ($_GET['pg']=="curriculum") {
            print(". Corsi
    
    	       . Studi e Stage
    
    	       . Tirocini
    
    	       . Esperienze Lavorative
    
    	       . Referenze
    ");
    	    }
    	    }
    	?>[*]CONTATTI
        </td>
      </tr>
    </table>

    grazie!

  2. #2
    Frontend samurai L'avatar di fcaldera
    Registrato dal
    Feb 2003
    Messaggi
    12,924
    mi sembra che si lamenti semplicemente del fatto che[*] non è racchiuso tra un <ul> o
    1. ... etc.

      basta includere i list item dentro un <ul> ad es.

      <ul>



    Vuoi aiutare la riforestazione responsabile?

    Iscriviti a Ecologi e inizia a rimuovere la tua impronta ecologica (30 alberi extra usando il referral)

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.