Salve a tutti!
Sto validando un sito, e ottengo questi errori. Purtroppo il sito non è ancora online, perché non ho configurato il server e lo farò a lavoro ultimato.
Ecco qui il codice dove viene segnalato l'errore:
codice:
function mycarousel_getItemHTML(url)
{
return '[img]' + url + '[/img]';
};
L'errore generato è:
document type does not allow element "a" here
…a style="border: none;" href="'+url+'"><img style="border: none;" src="' + url…
✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
Poi ottengo un'altro errore qui:
codice:
<div id="mycarousel" class="jcarousel-skin-ie7">
<ul>
[/list]
</div>
L'errore segnalato è:
end tag for "ul" which is not finished[/list]
✉
Most likely, you nested tags and closed them in the wrong order. For example
[i]...</p> is not acceptable, as [i] must be closed before
. Acceptable nesting is:
...</p>
Uso questo DTD:
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Ovviamente, per il secondo errore (ul) ho ben verificato, e <ul> non è annidato in nessun elemento (tipo "p").
Per quanto riguarda il primo errore, sto usando jCarousel e non ho idea del perché viene generato l'errore.
Qualche idea?
Grazie!