Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/05/2009, 10:52
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: 2 estilos diferentes en un mismo link

Prueba esto:
Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-es" lang="es-es">
<head>
<style type="text/css">
#enlaces a {color: #f00; text-decoration: none;}
#enlaces a span {color: #0f0;}
#enlaces a:hover {color: #00f;}
#enlaces a:hover span {color: #000;}
</style>
</head>
<body>
<div id="enlaces">
<a href="#">Este es un link<span> con 2 caras diferentes</span></a>
</div>
</body>
</html>