Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/04/2008, 12:07
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
Re: Palabra en enlace

No hay un código específico para hacer eso, pero este es un bonito truco:

Cita:
<!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>
<title>Cambio texto</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style type="text/css">
a {text-decoration: none;}
a span.con {display: none;}
a:hover {background: transparent;}
a:hover span.sin {display: none;}
a:hover span.con {display: block; }
</style>
</head>
<body>
<a href="#"><span class="sin">Sin raton encima</span><span class="con">Con raton encima</span></a>
</body>
</html>
Mikel.