phpBB Italia chiude!
phpBB Italia ringrazia tutti gli utenti che hanno dato fiducia al nostro progetto per ben 9 anni, e che, grazie al grande lavoro fatto da tutto lo Staff (rigorosamente a titolo gratuito), hanno portato il portale a diventare il principale punto di riferimento italiano alla piattaforma phpBB.

Purtroppo, causa motivi personali, non ho più modo di gestirlo e portarlo avanti. Il forum viene ora posto in uno stato di sola lettura, nonché un archivio storico per permettere a chiunque di fruire di tutte le discussioni trattate.

Il nuovo portale di assistenza per l'Italia di phpBB diventa phpBB-Store.it, cui ringrazio per aver deciso di portare avanti questo grande progetto.

Grazie ancora,
Carlo - Amministratore di phpBB Italia

errori con w3c validator.

Discussioni relative allo sviluppo grafico di un sito web utilizzando l'HTML/XHTML e CSS ed alla grafica in generale con l'utilizzo di applicazioni tipo Photoshop e GIMP.
Avatar utente
vargas
Utente
Utente
Messaggi: 280
Iscritto il: 11/03/2014, 7:59
Sesso: Maschio
Versione: 3.2.0
Server: Windows
PHP: 5.3.10
Database: MySQL 5.1.71-community-log

Re: errori con w3c validator.

Messaggio da vargas » 18/04/2014, 17:58

Certo Angolo, tu adesso giustamente vedi il mio forum con le modifiche, che io ho rimesso stamani una ad una, ex novo.
ma ti assicuro che, con il prosilver appena caricato, e quindi il forum "allo stato grezzo", i 6 errori erano sempre lì, immacolati ed intatti.
Non so cosa sia, forse un errore nei permessi del forum, o cos'altro, ma credimi che da perfetto "ignorante" non ho tralasciato un minimo dettaglio di ciò che mi hai consigliato, col risultato che è sempre tutto uguale.
Adesso metto il codice di hitstats, poi provo le modifiche (che spero di riuscire a fare), e ti ringrazio comunque infinitamente per la tua cortesia.

P.S. ovviamente, non riesco a farlo....
Ho sostituito un &101 aggiungendo amp, quindi facendolo diventare "&amp101" e mi ha dato altri 3 errori... :-(
HELP???
Last time...

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: errori con w3c validator.

Messaggio da Angolo » 18/04/2014, 18:32

Io ho detto & col punto e virgola. Chi ti ha detto di ometterlo? Occorre un rigore di precisione paranoico, cavilloso e maniacale.

Sicuramente, nelle tue modifiche stai usando la stessa approssimazione. Così... stai fresco.. Devi essere molto più preciso.

Avatar utente
vargas
Utente
Utente
Messaggi: 280
Iscritto il: 11/03/2014, 7:59
Sesso: Maschio
Versione: 3.2.0
Server: Windows
PHP: 5.3.10
Database: MySQL 5.1.71-community-log

Re: errori con w3c validator.

Messaggio da vargas » 18/04/2014, 18:41

azz... vero....
cmq adesso sono 10 gli errori, a parte quei 6 <ul /> ci sono questi:
Line 322, Column 41: there is no attribute "target"
… href="http://www.histats.com" target="_blank" title="utenti collegati" ><scri…

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.

Error Line 326, Column 59: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
…ttp://www.histats.com" target="_blank"><img src="http://sstatic1.histats.com/…

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

Error Line 326, Column 152: there is no attribute "border"
…ts.com/0.gif?2627771&101" alt="utenti collegati" border="0"></a></noscript>

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.

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: errori con w3c validator.

Messaggio da Angolo » 18/04/2014, 18:50

Vedi quanto sei impreciso e approssimativo?
Ti avevo anche detto di aggiungere lo slash a quel codice:
Circa il codice histats in generale, devi sostituire la & presente nel link noscript con & e aggiungere lo slash finale. Ma se non prima carichi il codice, non ti si possono dare indicazioni. Metodo sbagliato, approccio sbagliato.
E qui aggiungo la correzione del tag border:

Codice: Seleziona tutto

<noscript><a href="http://www.histats.com" target="_blank"><img  src="http://sstatic1.histats.com/0.gif?2627771&101" alt="utenti collegati" style="border: none;" /></a></noscript>

Avatar utente
vargas
Utente
Utente
Messaggi: 280
Iscritto il: 11/03/2014, 7:59
Sesso: Maschio
Versione: 3.2.0
Server: Windows
PHP: 5.3.10
Database: MySQL 5.1.71-community-log

Re: errori con w3c validator.

Messaggio da vargas » 18/04/2014, 19:16

Devi scusarmi, ma non sono "impreciso", sono ANALFABETA, di questo linguaggio.
Se sapessi dove mettere lo slash lo avrei fatto, così come se sapessi dove mettere il codice corretto....
Sorry


P.S.:

comunque sono riuscito, grazie a te ovvio, a togliere il problema del tag border...
restano 2 errori del cod hitstats...
Solo 2, e uno è lo slash, che non so dove vada...
Ultima modifica di Angolo il 18/04/2014, 23:16, modificato 1 volta in totale.
Motivazione: Niente messaggi consecutivi se non passano almeno 6 ore.

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: errori con w3c validator.

Messaggio da Angolo » 18/04/2014, 23:20

Lo slash era già stato corretto. È nel codice da me inviato. Ribadisco l'invito alla precisione... nel vedere cosa si copia...

Sostituisci

Codice: Seleziona tutto

target="_blank"
con:

Codice: Seleziona tutto

onclick="window.open(this.href); return false;"
Tuttavia quest'ultima correzione, potrebbe darti un errore nel noscript. Se così fosse, in noscript, elimina semplicemente il target blank invece di sostituire.

Avatar utente
vargas
Utente
Utente
Messaggi: 280
Iscritto il: 11/03/2014, 7:59
Sesso: Maschio
Versione: 3.2.0
Server: Windows
PHP: 5.3.10
Database: MySQL 5.1.71-community-log

Re: errori con w3c validator.

Messaggio da vargas » 19/04/2014, 9:13

Fatto, ma rimane 1 errore nel "noscript", credo.
Sia che lasci la stringa sostituita che no...
Per ora l'ho lasciata inserita, quella che hai detto.
Mamma mia, sono proprio di coccio....

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: errori con w3c validator.

Messaggio da Angolo » 19/04/2014, 10:16

Sì, sei proprio di coccio. Perché ti ho detto che quasi sicuramente ti avrebbe dato errore. E ti avevo già indicato la soluzione:
Tuttavia quest'ultima correzione, potrebbe darti un errore nel noscript. Se così fosse, in noscript, elimina semplicemente il target blank invece di sostituire.
E non è questione di essere principianti, neofiti o come dici tu analfabeti. È solo questione di imprecisione e approssimazione. La stessa approssimazione e non completa precisione, che ti impedisce di correggere i famosi 6 errori.

Avatar utente
vargas
Utente
Utente
Messaggi: 280
Iscritto il: 11/03/2014, 7:59
Sesso: Maschio
Versione: 3.2.0
Server: Windows
PHP: 5.3.10
Database: MySQL 5.1.71-community-log

Re: errori con w3c validator.

Messaggio da vargas » 19/04/2014, 10:26

l'ho anche tolta, e mi da lo stesso errore.
provo con la stringa tolta, adesso :-)
e ti do piena ragione quando dici che so di coccio

...fatto, e l'errore c'è ancora, anche se diverso :(

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: errori con w3c validator.

Messaggio da Angolo » 19/04/2014, 10:59

Prova così:

Codice: Seleziona tutto

<noscript><p><a href="http://www.histats.com"><img src="http://sstatic1.histats.com/0.gif?2627771&101" alt="utenti collegati" style="border: none;" /></a></p></noscript>

Se funziona, riprova a inserire nella posizione nota, il target blank; se dà errore, prova con l'onclick; se dà errore, togli di nuovo quella voce.

Rispondi

Torna a “Web Design & Grafica”

Chi c’è in linea

Visitano il forum: Nessuno e 22 ospiti