Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/06/2010, 10:56
carlosital
 
Fecha de Ingreso: noviembre-2008
Mensajes: 49
Antigüedad: 15 años, 4 meses
Puntos: 0
Información colocarle el color de fondo al pasar el mouse

buenas, quiero saber que necesito para cambiar el color del fondo de un texto que esta dentro de una columna td,

es decir tengo este code

Código HTML:
<table width="100%" border="0" cellspacing="3" cellpadding="3">
  <tr>
    <th width="20%"><a href="inicio.html">Inicio</a></th>
    <th width="20%"><a href="Login.html"> Login</a></th>
    <th width="20%"><a href="register.html"> Register</a></th>
    <th width="20%%"><a href="contacto.html">Contacto</a></th>
    <th width="20%"><a href="enlace.html">Enlace</a></th>
  </tr>
</table> 
tengo definido una propiedad para la etiqueta a ,
a {
color: #000000;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif; }

aqui quiero que no solo se cambie el color de fondo del texto, sino toda la columna

a:hover{background-color:black; }

como kedaria?? gracias espero de su ayuda