Ver Mensaje Individual
  #4 (permalink)  
Antiguo 03/07/2004, 10:11
Avatar de Zokor
Zokor
 
Fecha de Ingreso: julio-2002
Mensajes: 167
Antigüedad: 21 años, 9 meses
Puntos: 1
Aqui tienes un pequeño ejemplo que te cambia el fondo de los enlaces al pasar el ratón por encima. La clave está en los estilos aplicados a la etiqueta <A>. Espero que te sirva. Saludos

<!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" xml:lang="en" lang="en">
<head>
<!-- Created by TopStyle Pro Trial Version - www.bradsoft.com -->
<title></title>
<style type="text/css">
a {
display: block;
height: 20px;
}
a:hover {
background-color: #FF7F50;
}
ul {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
#menu {
background-color: #FFDAB9;
width: 200px;
text-align: center;
}
</style>
</head>

<body>
<div id="menu">
<ul>
<li><a href="http://www.google.com">Google</a></li>
<li><a href="http://www.forosdelweb.com">Foros del web</a></li>
</ul>
</div>
</body>
</html>