- Home
- Categorie
- Digital Marketing
- Grafica, Visual Design & UX
- Stesso problema per 2 tag div
-
Stesso problema per 2 tag div
Dove commetto errore? Perfavore un piccolo aiuto grazie.
(chiedo venia per aver inserito 2 volte la stessa discussione. come si fa a cancellare quella superflua?)Validation Output: 2 Errors
-
Error Line 14, Column 28: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag .
<div id="modernbricksmenu" >
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 28, Column 31: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag .
<div id="modernbricksmenuline" > </div>
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>").
-
-
Ciao javier
Generalmente parla di tag inseriti dove non dovrebbero esistere.
Se puoi inserirci un link non attivo possiamo aiutarti nel particolare in modo da avere una visuale generale del progetto e del codice.Ciao!
-
Io ho messo il link così...
[url=http://www.varazzedonbosco.it/varazze/index.html]link
spero vada bene.
Il tag che "da fastidio" l'ho preso da uno script già fatto per creare il menù orizzontale. Ma non credo sia quello il problema.
In ogni caso grazie per l'aiuto!!!
-
Ciao Javier80,
non puoi mettere i tag div dentro un tag h1 come hai fatto nel tuo sito:
[HTML]<div id="logo" ><img src="img/logovdb.gif" alt="Sito ufficiale Varazze Don Bosco"/>
<h1>
<div id="modernbricksmenu" >
<ul>
<li id="current" style="margin-left: 1px"><a href="http://www.varazzedonbosco.it/index.html" title="Home">Home</a></li>
<li><a href="http://www.varazzedonbosco.it/societa.html" title="Società">Societa'</a></li>
<li><a href="http://www.varazzedonbosco.it/squadra.html" title="Squadra">Squadra</a></li>
<li><a href="http://www.varazzedonbosco.it/giovanili.html" title="Giovanili">Giovanili</a></li>
<li><a href="http://www.varazzedonbosco.it/strutture.html" title="Strutture">Strutture</a></li>
<li><a href="http://www.varazzedonbosco.it/sponsor.html" title="Sponsor">Sponsor</a></li>
</ul>
<form id="myform" action="http://www.varazzedonbosco.it" title="ciao">
<input type="text" class="textinput" /> <input class="submit" type="submit" value="Cerca" />
</form>
</div><div id="modernbricksmenuline" > </div>
</h1> </div>
[/HTML]
-
Avrei scommesso che poteva trattarsi di un errore banale... prima di inserire il menù avevo infatti messo una scritta così di prova e mi sono dimenticato i tag h1.
Che dire? Grazie!!!!!!!!!!!!!!!!!!