Back to top

Autore Topic: [Risolto]Markup Validation Service genera errore quando inserisco icona nel sito  (Letto 4930 volte)

Offline joefranz

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
Caio a tutti, ho controllato il miosito con Markup Validation Service e non ho nessun problema la validazione passa, poi quando copio il codice da loro fornito nel mio footer cioe questo

<p>
    <img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0 Strict" height="31" width="88" />

  </p>

 per inserire l'icona di validazione del sito  il validatore Markup Validation Service mi genera questo errore:

ww.w3.org/Icons/valid-xhtml10" border="0" alt="Valid XHTML 1.0 Strict" width="…✉
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.

stessa cosa se copio il codice per l'icona css.

Grazie a tutti...
« Ultima modifica: 16 Nov 2010, 21:54:34 da joefranz »

Offline ilvanni

  • Global Moderator
  • Instancabile
  • ********
  • Post: 7038
  • Sesso: Maschio
  • Giovanni Vacca
    • Mostra profilo
Hai usato joomlafap?

Offline joefranz

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
si perche?

Offline ilvanni

  • Global Moderator
  • Instancabile
  • ********
  • Post: 7038
  • Sesso: Maschio
  • Giovanni Vacca
    • Mostra profilo
Non preoccuparti, era solo per saper meglio, nel caso avrei spostato il topic in un'altra sezione.

Offline joefranz

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
grazie, ma hai dei suggerimenti per il mio quesito?
te ne sarei grato

Offline ilvanni

  • Global Moderator
  • Instancabile
  • ********
  • Post: 7038
  • Sesso: Maschio
  • Giovanni Vacca
    • Mostra profilo
Ora non mi viene in mente nulla, attendi qui la risposta, se qualcuno potrà aiutarti si farà vivo.

Offline i0jfe

  • Esploratore
  • **
  • Post: 108
  • Sesso: Maschio
    • Mostra profilo
Modifica il codice in questo modo
<p>
    <img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0 Strict" style="height:31px; width:88px;" />
  </p>
Saluti Giovanni

Offline joefranz

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
Ciao Giovanni, grazie per la risposta però mi continua a dare questo errore

ww.w3.org/Icons/valid-xhtml10" border "0" alt="Valid XHTML 1.0 Strict" style="

cioè le virgolette di apertura di border

cosa posso fare?

grazie
« Ultima modifica: 13 Nov 2010, 09:36:55 da joefranz »

Offline i0jfe

  • Esploratore
  • **
  • Post: 108
  • Sesso: Maschio
    • Mostra profilo
Ciao
border non lo avevi detto.
Puoi toglierlo oppure metterlo dentro a style nel seguente modo
<p>
    <img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0 Strict" style="height:31px; width:88px; border:0" />
  </p>
Saluti Giovanni

Offline joefranz

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
Ciao Giovanni, scusa se ti disturbo ancora ma ho fatto come dici tu ma joomla modifica il codice e inserisce sempre il border"0".

come posso risolvere?

grazie

Offline i0jfe

  • Esploratore
  • **
  • Post: 108
  • Sesso: Maschio
    • Mostra profilo
Probabilmente utilizzi un modulo per inserire l'immagine per la validazione.
Allora disabilita l'editor che stai usando per il sito, copia e incolla il codice, salva e poi riabilita l'editor.
Saluti Giovanni

Offline joefranz

  • Nuovo arrivato
  • *
  • Post: 48
    • Mostra profilo
Grazie Giovanni, sei stato veramente gentile. Ho risolto.

Buona Serata.

 



Web Design Bolzano Kreatif