Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Errore Validazione

  1. #1

    Errore Validazione

    Salve a tutti!
    ho provato a validare il mio sito con W3C ma mi restituisce questo errore:

    Line 9, column 15: there is no attribute "ROWS"

    <frameset rows="179,*" cols="*" framespacing="0" frameborder="NO" border="0">

    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).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


    Cosa devo fare?
    GRazie

  2. #2
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Quale DTD usi?
    In altre parole: per rispondere occorre sapere se usi un DOCTYPE e quale.

    Perche` il tag frameset e` valido solo in una DTD frameset
    http://www.w3schools.com/tags/tag_frameset.asp
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

  3. #3
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

    ma i frame li ho creati con dreamwaver

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    La validazione avviene sui singoli file, quindi cosa chiami all'interno dei vari frame non interessa per validare il frameset.

    Comunque (come spiegato anche in quella pagina di w3schools che ti ho linkato prima) gli attributi rows e cols esistono in HTML4, gli altri no.
    Devi sostituirli con i CSS.

    Non so perche` ti dia l'errore su un attributo che esiste, e non su un attributo che non esiste.
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

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.