Ver Mensaje Individual
  #26  
Antiguo 29-06-2006
Avatar de JavierB
JavierB JavierB is offline
Miembro
 
Registrado: may 2003
Ubicación: Madrid
Posts: 99
Reputación: 22
JavierB Va por buen camino
Hola de nuevo.

La verdad es que esto llega a enganchar ¿Que tal añadiendo un poco de JavaScript?
Código:
<html>
<head>
<style type="text/css">
table {border-collapse:collapse}
td {border:1px solid black}
td a {width:100%; display:block}
</style>
<script type="text/javascript">
function ini() {
  obj = document.getElementById('tabla');
  for (i=0; ele=obj.getElementsByTagName('a')[i]; i++) {
    ele.onmouseover = function() {this.parentNode.parentNode.style.background = '#ff0'}
    ele.onmouseout = function() {this.parentNode.parentNode.style.background = ''}
  }
}
</script>
</head>
<body onload="ini()">
<table id="tabla">
<tr>
<td style="width:100px"><a href="algo.html">28/06/06</a></td>
<td style="width:50px"><a href="algo.html">90</a></td>
<td style="width:200px"><a href="algo.html">Minimizar todo</a></td>
</tr>
<tr>
<td style="width:100px"><a href="algo.html">29/06/06</a></td>
<td style="width:50px"><a href="algo.html">89</a></td>
<td style="width:200px"><a href="algo.html">Combinar</a></td>
</tr>
</table>
</body>
</html>
Saludos,
__________________
Lo importante no es saber, sino tener el e-mail del que sabe.
Responder Con Cita