![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/09/2008, 12:30
|
![Avatar de talmente](http://static.forosdelweb.com/customavatars/avatar202722_2.gif) | | | Fecha de Ingreso: noviembre-2007
Mensajes: 233
Antigüedad: 17 años, 2 meses Puntos: 4 | |
Respuesta: Hacer que todo el div sea un enlace mira esto:
.li {
padding: 20px;
border: 1px dotted #000000;
display: block;
}
a {
background: #009966;
}
a:hover {
background: #0099cc;
}
Con esto:
<ul>
<li><a href="#" class="li">el texto</a></li>
</ul> |