Ver Mensaje Individual
  #5 (permalink)  
Antiguo 26/03/2008, 16:10
Avatar de John_Flyheight
John_Flyheight
 
Fecha de Ingreso: marzo-2008
Ubicación: Managua, Nicaragua
Mensajes: 14
Antigüedad: 16 años, 1 mes
Puntos: 0
Re: link con cambio de color de tabla

Tienes Razon esta forma no se ajusta al standar
pero varios navegadores lo permiten.

Lo que si funciona correctamente, y se ajusta a la norma
es colocar el vinculo a la tabla con javascript, es decir:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tabla con vinculo</title>
<style type="text/css">
#mitabla:hover{ background-color:#FFFFCC;}
</style>
</head>

<body>
<table id="mitabla" name="nitabla" width="400" border="1" onclick="javascript:window.open('http://www.forosdelweb.com/f17/link-con-cambio-color-tabla-569503/');">
<tr>
<td>cualquier</td>
<td>cosa</td>
<td>que </td>
</tr>
<tr>
<td>se </td>
<td>me </td>
<td>ocurra</td>
</tr>
</table>

</body>
</html>