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

    Problemi con Markup Validation Service

    Ciao a tutti, vorrei esporvi la mia perplessità:

    Com'è possibile che il validatore HTML mi dia questo errore?

    codice:
    Error  Line 138 column 68: there is no attribute "VALIGN".
    
    ....gif" BORDER=0 ALT="Hardware" valign=" absmiddle"><A HREF="index.asp?cat
    
    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.
    In fin dei conti lo uso parecchie volte all'interno del mio sito il tag vaglin con attributo absmiddle, ma mi da errore solo una volta, solo questa volta.
    Qualcuno sa perchè?

  2. #2
    c'e' uno spazio davanti absmiddle?

    prova a toglierlo:

    codice:
    valign="absmiddle"
    ciaux

  3. #3
    Lo spazio ce l'ha messo il validatore.
    Cmq ho tolto l'attributo e non mi ha dato l'errore inoltre l'impaginazione non ne ha risentito.


    Ciao & thanks

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.