Ver Mensaje Individual
  #6 (permalink)  
Antiguo 23/09/2008, 12:30
Avatar de talmente
talmente
 
Fecha de Ingreso: noviembre-2007
Mensajes: 233
Antigüedad: 16 años, 5 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>