![]() |
![]() |
|
| Condividi questo contenuto nei Social Network: |
|
Tweet |
|
|
|
Ti stiamo aspettando: Registrati subito e gratis. Entra a far parte di una delle comunità più attive in Italia. Se hai dimenticato i tuoi dati li puoi recuperare subito. |
||||
|
|||||||||
Hey Amico Visitatore, Condividi con noi le tue idee e la tua conoscenza Aprendo una nuova discussione nella sezione HTML e XHTML |
|
|
LinkBack | Strumenti di discussione |
|
|
#1 (permalink) |
|
User
Data di registrazione: Jul 2009
Messaggi: 70
|
Errori nella validazione del codice html...
Ho eseguito la validazione del codice del mio sito, ma ci sono errori che proprio non so come correggere, ad esempio questo:
end tag for X omitted, but OMITTAG NO was specified You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". * Line 385, column 181: end tag for "img" omitted, but OMITTAG NO was specified …llo.com/wp-content/plugins/fbconnect/images/maxim.gif" alt="pinnedChange!"></a> oppure questo: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified * Line 214, column 12: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified <h3 class=cat_title><a href="manzinello.com/index.php/category/desi… Proprio non capisco dove dovrei andare a modificare il codice, qualcuno sa per caso come sistemarlo? Grazie mille! ![]() |
|
__________________
www.ontheblog.it |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
ModSenior
|
Immaginando che il sito in riferimento sia quello in presentaci un sito ho dato un occhiata.
Alcuni di quest sono dati dal fatto che all'interno dei collegamenti <a></a> Tu vai a mettere dei paragrafi, e non puoi farlo. Tu ora ad esempio fai cosi. <a><p>testo</p></a>. Prova cosi. <p><a>Testo</a></p>. Gia dovresti risolvere qualche errore... Poi magari andiamo per grado. Siamo quindi a 55 errori se non sbaglio. |
|
__________________
![]() Adventure Park Solution === Wireless Physical Computing === Pittura Vetro Rovigo Diventa Moderatore - Seo Power |
|
|
|
|
|
|
#3 (permalink) |
|
User
Data di registrazione: Jul 2009
Messaggi: 70
|
Sì, purtroppo 55 errori ancora... Riguardo al problema è esattamente quello che inizialmente ho pensato io! Ho cercato la riga in questione e ho trovato questo:
<div id="cat-<?php echo $i; ?>" class="category"> <?php query_posts("showposts=1&cat=$category")?> <span class="cat_title"><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></span> <a href="<?php echo get_category_link($category);?>"><?php echo category_description($category); ?></a> </div> Questo è il problema che spiegavo nella presentazione del sito... Non c'è alcuna <p>! Quei due invece sono altri due tipi che mi si sono presentati... I 55 c'è di buono che sono di pochi tipi, se risolvo una cosa del genere 5 se ne vanno perchè sono 5 le categorie che metto con la descrizione... |
|
__________________
www.ontheblog.it Ultima modifica di manzy : 31-07-10 21:15. |
|
|
|
|
|
|
#4 (permalink) |
|
ModSenior
|
A mannaggia... Wordpress vero?
|
|
__________________
![]() Adventure Park Solution === Wireless Physical Computing === Pittura Vetro Rovigo Diventa Moderatore - Seo Power |
|
|
|
|
|
|
#6 (permalink) |
|
ModSenior
|
Butto li una cosa che magari è più una pezza eh eh...
E se fai un replace della stringa? Prima un replace di un <p> e dopo di un </p>. Il problema nasce se c'è un <p ....></p>. |
|
__________________
![]() Adventure Park Solution === Wireless Physical Computing === Pittura Vetro Rovigo Diventa Moderatore - Seo Power |
|
|
|
|
|
|
#8 (permalink) |
|
ModSenior
|
No fare una cosa del genere.
Invece di stampare direttamente Codice PHP:
Codice PHP:
|
|
__________________
![]() Adventure Park Solution === Wireless Physical Computing === Pittura Vetro Rovigo Diventa Moderatore - Seo Power |
|
|
|
|
|
|
#9 (permalink) |
|
User
Data di registrazione: Jul 2009
Messaggi: 70
|
E' successa una cosa che ha dell'incredibile...
Le descrizioni sono raddoppiate... Sono una sotto l'altra...EDIT: funzionaaaaaaaaaaaaa! Avevo sbagliato io una cosa nel sostituire il codice, ora vedo se l'errore se n'è andato... EDIT2: se n'è andato anche l'errore! Grandissimo! Grazie! -50 ![]() |
|
Ultima modifica di manzy : 01-08-10 00:31. |
|
|
|
|
|
|
#10 (permalink) |
|
User
Data di registrazione: Jul 2009
Messaggi: 70
|
Un altro che proprio non capisco è il secondo che ho scritto nel post iniziale... Mi sottolinea la c di cat_title... Non capisco cosa devo fare in effetti, comunque sei stato gentilissimo fin'ora nel caso tu ora debba aiutare qualcun'altro! Grazie mille!
|
|
|
|
|
|
#11 (permalink) |
|
ModSenior
|
Forse perchè è scritto senza le virgolette?
class="cat_title" |
|
__________________
![]() Adventure Park Solution === Wireless Physical Computing === Pittura Vetro Rovigo Diventa Moderatore - Seo Power |
|
|
|
|
|
|
#12 (permalink) |
|
User
Data di registrazione: Jul 2009
Messaggi: 70
|
Perfetto! Risolto anche questo! Alcuni sono riuscito a risolverli da solo ed ora ne rimangono 28... Raggruppati in 3 gruppi. I tre gruppi sono questi:
end tag for X which is not finished Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p> Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on. * Line 411, column 319: end tag for "ul" which is not finished … <ul class="tabNavigation_feed"></ul></div></div><div id="fbAllComments" cla… -------------------------------- element X undefined 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), * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case). * Line 393, column 494: element "fb:login-button" undefined …medium" length="long" onlogin="javascript:login_facebook()" ></fb:login-button> -------------------------------- there is no attribute X 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. * Line 393, column 433: there is no attribute "size" …</strong>:<br/><fb:login-button size="medium" length="long" onlogin="javascri… Che proprio non riesco a capire, gli altri mi sono un po' arrangiato, non sono un grande esperto in effetti... |
|
|
|
|
|
#13 (permalink) |
|
User
Data di registrazione: Jul 2009
Messaggi: 70
|
Perfetto! Risolto anche questo! Alcuni sono riuscito a risolverli da solo ed ora ne rimangono 28... Raggruppati in 3 gruppi. I tre gruppi sono questi:
end tag for X which is not finished Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p> Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on. * Line 411, column 319: end tag for "ul" which is not finished … <ul class="tabNavigation_feed"></ul></div></div><div id="fbAllComments" cla… -------------------------------- element X undefined 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), * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case). * Line 393, column 494: element "fb:login-button" undefined …medium" length="long" onlogin="javascript:login_facebook()" ></fb:login-button> -------------------------------- there is no attribute X 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. * Line 393, column 433: there is no attribute "size" …</strong>:<br/><fb:login-button size="medium" length="long" onlogin="javascri… Che proprio non riesco a capire, gli altri mi sono un po' arrangiato, non sono un grande esperto in effetti... |
|
|
|
|
|
#14 (permalink) |
|
ModSenior
|
28?
A me ne segna 50. Per quale standard lo stai validando? |
|
__________________
![]() Adventure Park Solution === Wireless Physical Computing === Pittura Vetro Rovigo Diventa Moderatore - Seo Power |
|
|
|
|