Back to top

Autore Topic: Validazione W3C problemi con swmenufree  (Letto 1137 volte)

Offline gvtcam

  • Esploratore
  • **
  • Post: 83
    • Mostra profilo
Validazione W3C problemi con swmenufree
« il: 16 Nov 2012, 10:57:37 »
Sto cercando di rendere visibile il sito fatto con Joomla 2.5 con validatore w3c

Aggiungendo il menu in alto con swmenufree il validatore dà eroore (vedi sotto)

Nel fare ricerche ho trovato alcune informazioni ma non sono riuscito a risolvere il problema forse perchè non conosco php e se non mi viene detto per filo e per segno dove devo mettere mano non so fare nulla.


Ringrazio in anticipo per la disponibilità  e chiedo.. uhm ... semplicità ... :-\


http://www.iissmoreadelilla.org/index.php


Validation Output: 1 Error 
  • Error Line 238, Column 44: there is no attribute "align"
    …e id="menu_wrap" class="swmenu" align="center"><tr><td><div id="td_menu_wrap" …
     
     
      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.     
     
« Ultima modifica: 16 Nov 2012, 11:01:00 da gvtcam »

Offline fasenderos

  • Appassionato
  • ***
  • Post: 326
    • Mostra profilo
Re:Validazione W3C problemi con swmenufree
« Risposta #1 il: 16 Nov 2012, 11:09:25 »
direi che l'errore parla da se....


cerca il file che alla line 238 abbia align="center"...eliminalo ed inserisci align: center; nel css con la classe swmenu...per aiutarti a capire quali sono i file da modificare usa firebug
Fiscalway - Consulenza Fiscale, Contabile e del Lavoro
Forum FW - La più grande comunità fiscale online by Fiscalway

Offline gvtcam

  • Esploratore
  • **
  • Post: 83
    • Mostra profilo
Re:Validazione W3C problemi con swmenufree
« Risposta #2 il: 16 Nov 2012, 17:06:49 »
Grazie per l'intervento ... il mio limite è proprio qui, nel senso che ho seguito anche una videoguida per usare firebug ma non sono riuscito a capire come posso identificare la stringa da modificare (es. dove trovo sta riga 238?? ::)

 



Web Design Bolzano Kreatif