Ver Mensaje Individual
  #8 (permalink)  
Antiguo 10/03/2008, 16:09
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Re: tabla cambiante de color con mouse encima.

Ya, es que lo queréis todo; sois insaciables.
Pues así sí valida

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Plantilla</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<style type="text/css">
a { background-color: rgb(255, 0, 0);
display: block;
width: 50%;
}
a:hover { background-color: rgb(0, 0, 0);
cursor: text;
}
table {
background-color: rgb(255, 0, 0) !important;
background-color: transparent;
width: 50% !important;
width: 100%;
}
table:hover { background-color: rgb(0, 0, 0) !important;
}
</style>
</head>
<body>
<!--[if lte IE 6]><a href="#"><![endif]-->
<table style="width: 100%;" border="1">
<tbody>
<tr>
<td>Celda 1</td>
<td>Celda 2</td>
<td>Celda 3</td>
</tr>
<tr>
<td>Celda 4</td>
<td>Celda 5</td>
<td>Celda 6</td>
</tr>
<tr>
<td>Celda 7</td>
<td>Celda 8</td>
<td>Celda 9</td>
</tr>
</tbody>
</table>
<!--[if lte IE 6]></a><![endif]-->
</body>
</html>
Mikel.