Visualizzazione dei risultati da 1 a 2 su 2

Discussione: validazione pagina web

  1. #1
    Utente di HTML.it
    Registrato dal
    Apr 2005
    Messaggi
    84

    validazione pagina web

    ciao.
    Sto facendo delle prove per validare alcune pagine web.

    In una pagina mi viene segnalato questo errore


    Line 15 column 61: there is no attribute "HEIGHT".

    ...able cellspacing="0" cellpadding="0" width="740" height="100" border="1">

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). ....
    ho la necessitaà di definire l'altezza della tabella.

    Al momento ho usato questo DOCTYPE

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


    quale dovrei usare per rispettare le regole e fare validare correttamente la mia pagina?

    grazie
    ciao
    simo

  2. #2
    Nessun DOCTYPE accetta l'height alla tabella in quanto attributo deprecato, devi agire tramite i CSS se vuoi un'altezza precisa per <table>.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

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.