IE7 ¿No se puede representar el enlace (con fondo transparente) sobre un texto?
Este es micódigo :
HTML:<div class="container">
<div class="myBox">My Text</div>
<a class="myLink" href="http://www.google.com"> </a>
</div>
CSS:.container
{
position:relative;
width:200px;
height:200px;
}
.myBox
{
position:absolute;
top:0;
left:0;
z-index:90;
background-color:#ff0000;
width:200px;
height:200px;
}
.myLink
{
text-decoration:none;
display:block;
position:absolute;
width:50px;
height:50px;
top:0px;
left:0px;
z-index:100;
}
en IE7, el enlace sobre "Mi texto" no funciona como enlace. Si enmyLink
Pongo un color de fondo, también funciona.
¿Estoy tomando drogas o es un comportamiento normal? ¿Y cómo puedo solucionar esto con un fondo transparente?