Visualizzazione dei risultati da 1 a 7 su 7
  1. #1
    Utente bannato
    Registrato dal
    Jan 2005
    Messaggi
    468

    chi mi aiuta a correggere questi errori?

    ho provato a validare la mia pagina e ho trovato degli errori che non ho capito come correggere.
    Gli errori sono:
    Line 13, column 26: there is no attribute "HEIGHT"

    <table width="680" height="758" border="0" align="center" cellpadding="0" cellsp

    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.



    Line 88, column 20: there is no attribute "DIRECTION"

    <marquee direction="right" scrollamount="2" width="620">



    Line 88, column 41: there is no attribute "SCROLLAMOUNT"

    <marquee direction="right" scrollamount="2" width="620">



    Line 88, column 51: there is no attribute "WIDTH"

    <marquee direction="right" scrollamount="2" width="620">



    Line 88, column 56: element "MARQUEE" undefined

    <marquee direction="right" scrollamount="2" width="620">

    You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).

    come cavolo correggo??

  2. #2
    Ma non ne avevamo già discusso di queste cose, io e te?

    Vabbè, ripetiamo:

    1. Il tag marquee non è standard, pertanto non lo sono nemmeno tutti i suoi attributi.

    2. Allo scopo di mantenere la separazione tra contenuto e forma, tutti gli attributi che hanno a che fare con la grafica (tipo height) vanno tolti dal markup e inseriti nel css. Approfondimento:

    - http://forum.html.it/forum/showthrea...hreadid=824282


  3. #3
    Utente bannato
    Registrato dal
    Jan 2005
    Messaggi
    468


    ma il marquee almeno funziona con tutti i browser??
    e
    xkè l'attributo height nell'altro sito l'ho potuto mettere senza usare i css??

    si ne avevamo già parlato ma non si erano presentati questi due casi...
    almeno del secondo ne sono sicuro

  4. #4
    Il marquee non è standard, pertanto, anche fosse visualizzato dai vari browser (non è così) non andrebbe comunque utilizzato.

    Per quanto riguarda l'altro, probabilmente avevi usato una DTD html: adesso hai usato xhtml, giusto?


  5. #5
    Utente bannato
    Registrato dal
    Jan 2005
    Messaggi
    468
    no non ho usato xhtml
    ma DTD HTML 4.01
    e ora come la mettiamo? :master:

  6. #6


    Ti va se ne riparliamo domani? Sono totalmente rinco adesso, ho un gran sonno e mi si prospetta una notte di lavoro. VVoVe: Oltretutto, ho appena dovuto inventarmi un articolo sul forum di css ( http://forum.html.it/forum/showthrea...hreadid=832868 ).

  7. #7
    Utente bannato
    Registrato dal
    Jan 2005
    Messaggi
    468
    non preoccuparti........
    domani va benissimo comunque il marquee l'ho levato non era indispensaile

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.