Ver Mensaje Individual
  #9 (permalink)  
Antiguo 01/05/2009, 01:34
Avatar de ArturoGallegos
ArturoGallegos
Moderador
 
Fecha de Ingreso: febrero-2008
Ubicación: Morelia, México
Mensajes: 6.774
Antigüedad: 16 años, 2 meses
Puntos: 1146
Respuesta: no funciona hover

hola amigo el codigo que estas usando funciona correctamente en IE, solo que tu no le estas especificando la codificacion agrega esto en la primera linea de tu codigo y trabajara como dios manda
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
e igual si no te anda pruebate este codigo ya lo probe y me anda perfectamente

Código HTML:
<!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>Documento sin t&iacute;tulo</title>
<style type="text/css">
.one{background:#FFFFCC;}
.two{background:#FFCCCC;}
.one th, .one tr:hover th{background:#0099FF;}
.one tr:hover{background:#CCCCCC;}
</style>
</head>

<body>
<table width="300" border="0" align="center" class="one">
  <tr>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
    <th scope="col">&nbsp;</th>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr class="two">
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html> 
cabe mencionar que esa obsión del hover en toda la fila aplica solo para IE7 e IE8, si lo requieres para versiones anteriores de IE habría que pensar en usar java o probar si con el famoso fix de IE se corrige aunque muchos dicen no es aconsejable usar ese fix ya que hace muy pesado el sitio

bueno pues suerte amigo y por aquí estare viendo tu progreso haber como te va