Ver Mensaje Individual
  #11 (permalink)  
Antiguo 15/10/2011, 14:22
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: hover en tablas

con esto
Cita:
tr:nth-of-type(2n) td:nth-of-type(1) {
background:#ff0000;
}
y la tabla es esta
Cita:
<table border="1">
<tr>
<th>header1</th>
<th>header2</th>
<th>header3</th>
<th>header4</th>
</tr>
<tr>
<td></td>
<td>columna2</td>
<td>columna3</td>
<td>columna4</td>
</tr>
<tr>
<td>columna1</td>
<td>columna2</td>
<td>columna3</td>
<td>columna4</td>
</tr>
<tr>
<td></td>
<td>columna2</td>
<td>columna3</td>
<td>columna4</td>
</tr>
<tr>
<td>columna1</td>
<td>columna2</td>
<td>columna3</td>
<td>columna4</td>
</tr>
<tr>
<td></td>
<td>columna2</td>
<td>columna3</td>
<td>columna4</td>
</tr>
<tr>
<td>columna1</td>
<td>columna2</td>
<td>columna3</td>
<td>columna4</td>
</tr>
</table>