• Bannato User Attivo

    scusate l'ignoranza... errore!!!

    ciao a tutti, mi ritrovo questo errore ma non capisco:

    Line 53, Column 56: there is no attribute "bordercolor"
    <table border="2" id="table1" width="900" bordercolor="#000000">

    io ho bisogno dell'attributo bordercolor.

    cosa posso fare?

    ah il sito è questo: ilbimbo.it


  • User Attivo

    Prova con: bordercolor="black" se vuoi il nero


  • Bannato User Attivo

    no. da errore anche cosi...

    Line 53, Column 56: there is no attribute "bordercolor"
    <table border="2" id="table1" width="900" bordercolor="black">

    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


  • User Attivo

    Stò cercando un validatore in italiano.. questo non si capisce niente..
    Sembra che non sia lì l'errore ma prima.. forse attibuto _blank
    (e mò ce passa..)


  • ModSenior

    Probabilmente stai usando un doctype (intestazione del file html, prima riga in alto) che non prevede più l'uso dell'attributo bordercolor per le tabelle. Prova ad usare gli stili, i css.

    Edit: Ho letto il messaggio #3. E' proprio come dicevo, usi un doctype che non lo prevede.

    Valerio Notarfrancesco


  • User Attivo

    Mi sà proprio di sì và modificato nel css..
    Se non riesci per ora toglilo e passa ad un altro errore.. dopo si passerà al css


  • Bannato User Attivo

    i restanti 9 errori sono:

    Line 1, Column 135: value of fixed attribute "xmlns" not equal to default
    ?n:schemas-microsoft-com:office:office" xmlns="h t t p :// w ww.w3.org/TR/REC-html40">


    Line 53, Column 56: there is no attribute "bordercolor"
    <table border="2" id="table1" width="900" bordercolor="black">


    Line 62, Column 85: there is no attribute "height"
    ?lapse" id="table2" width="900" height="937" bgcolor="#FFFFFF" bordercolor="#00?


    Line 108, Column 86: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    ?18/lunapic1273151419402121.gif" width=88 height=31 alt="Votami nella babytown ?


    Line 108, Column 96: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    ?1273151419402121.gif" width=88 height=31 alt="Votami nella babytown top100!" b?


    Line 108, Column 142: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
    ?02121.gif" width=88 height=31 alt="Votami nella babytown top100!" border=0></a>


    Line 108, Column 147: end tag for "img" omitted, but OMITTAG NO was specified
    ?02121.gif" width=88 height=31 alt="Votami nella babytown top100!" border=0></a>


    Line 112, Column 50: there is no attribute "bordercolorlight"
    ?h="279" height="111" bordercolorlight="#000000" bordercolordark="#000000" alig?


    Line 112, Column 76: there is no attribute "bordercolordark"
    ?rcolorlight="#000000" bordercolordark="#000000" align="center" colspan="2" row?


    non sono riuscito a risolverli... chiedo aiuto!!!


  • User Attivo

    Quarda i miei post giù:


  • User Attivo

    Ecco ! Ho trovato la soluzione: (nel css):

    table {
    border: 1px solid #3366FF;
    }

    Così l'ho convalida !!


  • User Attivo

    Per il primo errore mi sà che devi cambiare il Doctype.. se non lo trovi copialo dal mio sito che è già validato.. (Ti dò il permesso..)

    Il terzo errore è un banner flash?


  • Bannato User Attivo

    si è un banner


  • User Attivo

    Vabbeh.. cambia la doctype e modifica il css come ti ho detto sopra.. dovrebbe risolvere parecchi problemi..


  • Bannato User Attivo

    uhm ora mi da 69 errori ?!?!??

    ho messo il tuo doctype


  • User Attivo

    A me ne segna sempre 9.. ma mi sà che bisogna aspettare l'indicizzazione !!
    Io stò usando la validazione 1.0 !!


  • Bannato User Attivo

    ora ho messo questi due:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "htt p://w w w.w3.org/TR/html4/frameset.dtd">

    <html xmlns="ht tp://w w w.w3.org/1999/xhtml" xml:lang="it" lang="it" dir="ltr">

    e mi da 10 errori e 7 warnings..

    puoi controllare per favore??


  • User Attivo

    Esatto ! A quanto mi risulta in xhtml non hai nemmeno bisogno di continuare la convalida.. è già compatibile con tutti i browser..

    Ma hai usato office?


  • ModSenior

    Però aspettate, non è che si può cambiare il doctype così fino a quando se ne trova uno che va bene.
    Ogni doctype definisce una serie di caratteristiche degli elementi e anche la loro sintassi, cioè come si scrive il codice html. E' un po' come parlare l'italiano, lo spagnolo o il portoghese, possono avere radici comuni, anche una certa somiglianza fonetica, ma le regole grammaticali sono diverse.

    Un esempio tra tanti solo per far capire:
    in html per inserire un'immagine scriviamo <IMG src="forumgt.jpg"> e sarebbe perfettamente convalidato
    In xhtml invece <img src="forumgt.jpg" alt=Forum per Webmaster" />

    Quindi dobbiamo partiamo dal file che ha generato il programma per fare la pagina, Word, Frontpage o quello che è. Se questo programma ha costruito una pagina con un doctype, è molto più semplice andare a correggere gli errori usando la "lingua", a sintassi di quel doctype che non andare a riscrivere tutti gli elementi della pagina.

    Valerio Notarfrancesco


  • User Attivo

    Effettivamente ho visto che usa frontpage.. mi sà che il doctype andava bene quello di prima..