Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/12/2013, 02:37
thenine
 
Fecha de Ingreso: mayo-2007
Mensajes: 44
Antigüedad: 17 años
Puntos: 0
Respuesta: Separación entre elementos <li>

Hola,
gracias por responder pero no entiendo para que necesitas el css.

Código HTML:
.div_subsecc {
    float: left;
    width: 180px;
    padding-left: 10px;
}
.div_subsecc_h 
{
    float: left;
    width: 170px;
    padding-left: 10px;
}
Este es el código CSS.

El primero abarca toda la estructura y el segundo es por cada DIV hijo.


El pulsar sobre cada menu ejecuta en javascript
Código HTML:
var OCULTO="none";
var VISIBLE="block";

...

        subti=document.getElementById("div_subsecc_"+id);
        if (subti!=null)
        {
               if(subti.style.display==VISIBLE)
               {
                subti.style.display=OCULTO;
                texto.style.fontWeight="normal"; 
               }
               else 
                subti.style.display=VISIBLE;              
        } 
Salu2