Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/04/2009, 15:35
Avatar de Daniel Ulczyk
Daniel Ulczyk
Super Moderador
 
Fecha de Ingreso: febrero-2005
Ubicación: Buenos Aires
Mensajes: 9.263
Antigüedad: 19 años, 2 meses
Puntos: 2114
Respuesta: cambio de color del fondo

Tomando la idea del siguiente ejemplo:

Código html:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.    
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.     <title></title>
  5.     <style>
  6.     a:link {
  7.         background: #FFF;
  8.         color: #FFF    
  9.     }
  10.     a:hover {
  11.         background: #000;
  12.         color: #FFF
  13.     }
  14.     </style>
  15. </head>
  16.  
  17. <a href="#">Demo</a>
  18. </body>
  19. </html>

Con a:link definís la manera en que se ve tu enlace y con a:hover, ante el evento requerido.

__________________
—Somos lo que hacemos repetidamente. La excelencia, entonces, no es un acto sino un hábito. (Aristóteles dixit)