Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/02/2009, 11:00
jalex16
 
Fecha de Ingreso: octubre-2006
Mensajes: 562
Antigüedad: 17 años, 6 meses
Puntos: 12
ayuda con max-height y overflow

hola
como siempre, problemas en IE6:
en esta web uso para el encabezado una capa que tiene un max-height y overflow: visible, la capa debajo de ella deberia mostrarse casi a la mitad de la anterior, porque no funciona?

Código:
#header{
    float: left;
    width: 740px;
    max-height: 110px !important;
    _height: expression(this.scrollHeight > 111? "110px": "auto");
    overflow: visible;
    position: relative;
    z-index: 200;
}

#content{
    background: url(../images/panel.jpg) no-repeat;
    width: 740px;
    float: left;
    position: relative;
    z-index: 0;
}
si no me entienden, mirenla con FF, asi es correcta

gracias