03/04/2011, 12:45
|
| | Fecha de Ingreso: octubre-2008
Mensajes: 14
Antigüedad: 16 años, 2 meses Puntos: 0 | |
error al validar mi código Buenas a todos!
Al validar mi código me sale el siguiente error: Line 28, Column 178: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag …EAADC';"
onmouseout="document.getElementById('texto1').styl e.color='#ffffff';">
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>").
Os adjunto el código(sin poner los "heads", "bodys", etc):
<a href="diseno-grafico.html">
<div class="apartados_home_elemento" onmouseover="document.getElementById('texto1').sty le.color='#2EAADC';" onmouseout="document.getElementById('texto1').styl e.color='#ffffff';">
<img border="0" src="img/portada-grafico.jpg" alt="portada diseño grafico" />
<table class="tabla">
<tr>
<td><img src="img/icono-grafico.jpg" alt="icono diseño grafico" /></td>
<td id='texto1' class="elemento_texto1"><strong>Diseño gráfico</strong></td>
</tr>
</table>
</div>
</a>
¿Me podéis ayudar a encontrar el error?
Muchas gracias! |