![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
05/05/2008, 05:05
|
![Avatar de Mikmoro](http://static.forosdelweb.com/customavatars/avatar153985_1.gif) | Colaborador | | Fecha de Ingreso: octubre-2006 Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 18 años, 4 meses Puntos: 280 | |
Re: Pregunta tonta sobre estilo para hipervinculo El elemento "a" no necesita altura porque ya tiene un texto que le da tamaño.
¿Y si lo pones así?
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="estilos.css" title="default">
<style type="text/css">
a {background: url(images/fondo1.jpg);}
a:link {text-decoration:none; background: url(images/fondo1.jpg);}
a:hover {background: url(images/fondo2.jpg);}
</style>
</head>
<body>
<a href="#">tururu</a>
</body>
</html>
Mikel. |