Hola todos :
occiso : no me queda claro sobre qué fila/s hay que pasar el puntero para que cambie toda la tabla. Al principio creí que era justamente sobre la misma tabla, pero después pareció que era en filas.
Supongo que será sobre la fila que contiene las "filas" múltiples. Que en realidad no son filas; allí podrìas usar
rowspan.
Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
#miTabla {width:600px; border:6px inset ActiveBorder; background:#009900}
#miTabla td{border:2px solid ActiveBorder; background:transparent}
</style>
<script>
function cambiaFondo(){
if(document.getElementById("miTabla").style.background == "#009999"){
document.getElementById("miTabla").style.background = "#009900"}
else{
document.getElementById("miTabla").style.background = "#009999"}
}
</script>
</head>
<body>
<table id="miTabla">
<tr onMouseOver="cambiaFondo()" onMouseOut="cambiaFondo()">
<td width="34"> </td>
<td width="34"> </td>
<td width="107">
<table width="130" border="1">
<tr>
<td>quijote</td>
</tr>
<tr>
<td>aaaaa</td>
</tr>
<tr>
<td>sancho</td>
</tr>
</table></td>
<td width="141"> </td>
<td width="250"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
saludos
furoya