Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/01/2011, 13:57
st0nk
 
Fecha de Ingreso: julio-2005
Mensajes: 23
Antigüedad: 18 años, 9 meses
Puntos: 0
Respuesta: etiquetas permitidas dentro de UL

no sabia si abrir otro post.. si es asi, edito este mensaje...


Ahora w3c, me dice:


Cita:
1. Error Line 257, Column 12: document type does not allow element "ul" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<ul>

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

Código:
<div class="leyenda planilla info">
	<div class="cuadroinfo">
		<h2>¿Necesitas contactarnos, via correo?</h2>
		<p>Lllena el formulario adjunto, y a la brevedad posible te contactaremos</p>
	</div>
	
	<div class="cuadroinfo">
		<h2>Tambien estamos en:
			<span id="redes2">
				<ul>
				<li><a href="http://www.youtube.com" target="_blank" id="y2"><span>youtube.com</span></a></li>
				<li><a href="http://twitter.com" target="_blank" id="tw2"><span>@ksjdssd</span></a></li>
				<li><a href="http://www.facebook.com/" target="_blank" id="fb2"><span>facebook.com/</span></a></li>
				</ul>
			</span>
		</h2>
	
	</div>

Trate de sacarlo de la etiqueta, h2 y span y sigue el erorr :(