Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => : Tuanonna 01 Apr 2012, 13:39:38
-
Salve a tutti, sto facendo un sito modificando il template ja purity con un tema grafico scuro, quindi cambiando soltanto il colore... Con google chrome e firefox tutto corretto solamente con internet explorer alcune pagine (quattro in totale )mi si vedono in bianco e non si riesce a leggere il testo...
l'errore comune che hanno le pagine è il seguente:
Line xxx, Column xx: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag[br /]<div class="pagenavbar"><div><a href="/index.php?option=com_content&v…
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>") 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.
Non so se possa dipendare da questo, come posso risolvere?
-
document type does not allow element "div" here;
-------------------------------------------------------------------
http://translate.google.com/#en|it|document%20type%20does%20not%20allow%20element%20%22div%22%20here%3B (http://translate.google.com/#en%7Cit%7Cdocument%20type%20does%20not%20allow%20element%20%22div%22%20here%3B)
come posso risolvere?
--------------------------------
o cambiando il document type o togliendo il div da dov'è
M.
-
se ho capito bene l'errore è nella pagenavbar (prec e succ), come devo agire per rimuovere il div da dentro il codice, se ho capito bene si trova dentro il plugin pagebreak.php?
-
se usi firebug ti aiuta a scovare l'errore, non credo sia il template in errore ma qualcosa che hai aggiunto tu.
oppure guarda se trovi la documentazione del template per vedere che compatibilità dichiara.
M.
-
Uso firebug e si mi ha aiutato sempre molto
Vorrei togliere questa riga di codice ma non capisco cosa sia a generarla
<div class="pagenavbar"><div>Prec. - <a href="......">Succ. >>[/url]</div></div>
</div>
-
ma il template originale, non modificato da te, da sempre quell'errore?
M.