Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/11/2011, 17:05
mecaman
 
Fecha de Ingreso: noviembre-2011
Ubicación: barcelona
Mensajes: 1
Antigüedad: 13 años
Puntos: 0
Pregunta Problemas con la validación W3C con el archivo navigation.html

Hola a todos !!

Tengo este problema en el archivo navigation.html que no cumple las normas de w3c y me dice lo siguiente

Código:
Error Line 227, Column 84: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

…ndustrial.com/buscador.php">Buscador avanzado<p>Encuentra lo que buscas</p></a>

✉

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 230, Column 91: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

…trial.com/lastmessages.php">100 últimos mensajes<p>Posteados en el foro</p></a>

✉

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 233, Column 73: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

…dindustrial.com/fanpage.php">Fanpage<p>Página de seguidores en Facebook</p></a…

✉

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 236, Column 92: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

…trial.com/condiciones.php">Términos y condiciones<p>Condiciones legales</p></a>

✉

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 256, Column 65: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

…www.mecanet.es/">Servicio de Mecanizados<p>Para empresas y particulares</p></a>

✉

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 259, Column 89: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

…publicidad.php">Contratar publicidad<p>Actualmente con más de 40000 visitas al…

✉

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 937, Column 4: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag

	<p></p>

✉

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>").


y esto es lo que tengo en el achivo navigation en lo que a la parte afectada se refiere

Código:
<li class="<!-- IF SCRIPT_NAME eq 'index.php' -->activetab<!-- ENDIF -->">
			<a href="index.php"><span>Areas</span></a>
		<div class="sub">
   				<ul>	
					<li>
						<a href="http://www.comunidadindustrial.com/buscador.php">Buscador avanzado</a>
						<p>Encuentra lo que buscas</p></a>
					</li>
   					<li>
						<a href="http://www.comunidadindustrial.com/lastmessages.php">100 últimos mensajes</a>
						<p>Posteados en el foro</p>
					</li>
					<li>
						<a href="http://www.comunidadindustrial.com/fanpage.php">Fanpage<p>Página de seguidores en Facebook</p></a>
							</li>
					<li>
						<a href="http://www.comunidadindustrial.com/condiciones.php">Términos y condiciones<p>Condiciones legales</p></a>
					</li>
   				</ul>
   				<div class="btm-bg"></div>
   			</div>
		</li>
		<li class="<!-- IF SCRIPT_NAME eq 'index.php' -->activetab<!-- ENDIF -->">
			<a href="http://www.comunidadindustrial.com/knowledge/index.php"><span>ArtÃ*culos</span></a>
			</li>
			<li class="<!-- IF SCRIPT_NAME eq 'index.php' -->activetab<!-- ENDIF -->">
			<a href="http://www.comunidadindustrial.com/calendar.php"><span>Calendario</span></a>
			</li>
						<li class="<!-- IF SCRIPT_NAME eq 'fanpage.php' -->activetab<!-- ENDIF -->">
			<a href="http://www.comunidadindustrial.com/youtube.php"><span>Videos</span></a>
			</li>
		<li class="<!-- IF SCRIPT_NAME eq 'index.php' -->activetab<!-- ENDIF -->">
			<a href="index.php"><span>Servicios</span></a>
			<div class="sub">
   				<ul>
   					<li>
						<a href="http://www.mecanet.es/">Servicio de Mecanizados<p>Para empresas y particulares</p></a>
					</li>
   					<li>
						<a href="http://www.comunidadindustrial.com/publicidad.php">Contratar publicidad<p>Actualmente con más de 40000 visitas al mes y 50000 páginas vistas al dÃ*a.</p></a>
								</li>
   				</ul>              
   				<div class="btm-bg"></div>
   			</div>
		</li>
		<li id="searchbox">
si alguien sabe como solucionarlo sin que degenere las ventanas flotantes al quitarle la </p> en la linea <a href=" lo agradeceria

saludos cordiales