Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/08/2009, 05:57
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 11 meses
Puntos: 539
Respuesta: Colores en enlaces

Código, Laika, código css
Mira a ver si lo siguiente se acerca a tu duda:
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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-es">
  3. <title>kseso? jugando con css</title>
  4. <style type="text/css">
  5. * {margin: 0; padding: 0; border: 0; position: relative;}
  6. html, body {
  7. background-color: #cdcdcd;
  8. }
  9. ul { margin: 15px;}
  10. ul li {
  11. display:block;
  12. list-style-type:none;
  13. width:10em;
  14. }
  15. ul li a {
  16. display: block;
  17. padding: 5px 10px;
  18. text-decoration: none;
  19. color: #fff;
  20. }
  21. .uno {background: #c0c0c0;}
  22. .dos {background: #707070;}
  23. .tres {background: #4F4F4F}
  24. ul li a:hover {
  25. text-decoration: none;
  26. color: #F0C000;
  27. background: #600000;
  28. }
  29. </head>
  30.   <ul>
  31.     <li><a class="uno" href="#">Enlace 1</a></li>
  32.     <li><a class="dos" href="#">Enlace 2</a></li>
  33.     <li><a class="tres" href="#">Enlace 3</a></li>
  34.   </ul>
  35. </body>
  36. </html>

Coloca tu imagen en el background correspondiente.
Un saludo
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++