Comunidad de diseño web y desarrollo en internet online

Un div dentro de otro y que se ajuste

Citar            
MensajeEscrito el 12 Abr 2009 11:27 am
Hola!

Como sé que el IE quiere llamar la atención y no soportar los estándares, creé una tabla en CSS. VER

Esta se ve perfectamente en los navegadores de calidad y el IE... pero tengo un problema al querer aplicar esta tabla a mi pag. Principal, ya que pongo la tabla, pero el div padre no se ajusta a su contenido... y queda esto:



Y yo en realidad quiero que aparezca la tabla y debajo de esta, las letras (Las que se ven en el fondo detrás de la tabla)

Código css:

Tabla:
div.tablamenu{
position:absolute;
left:20px;
top:40px;
border:3px;
border-style:solid;
border-color:#CCCCCC;
width:566px;
}
div.filaatablamenu{
float:left;
width:100%;
height:76px;
margin:0;
border-bottom:1px;
border-bottom-style:solid;
}
div.filabtablamenu{
float:left;
width:100%;
height:30px;
margin:0;
}
div.columnatablamenua{
margin-top:3px;
margin-left:4px;
margin-bottom:3px;
float:left;
text-align:center;
padding-right:3px;
height:70px;
width:73px;
border-right:1px;
border-right-style:solid;
}
div.columnatablamenub{
margin:3px;
float:left;
text-align:center;
height:20px;
width:70px;
}

Div padre donde quiero meter la tabla:
position:relative;

margin:0 0 20px 0;

border:2px solid #fff;

color:#333;

padding:0px 10px 0 10px;


Saludos! :?

Por Alvaro_brub

3 de clabLevel



 

2008

chrome
Citar            
MensajeEscrito el 16 Abr 2009 08:26 am
Prueba a flotar el contenedor padre, y si no funciona, prueba con un overflow:auto;

Por akhasis

75 de clabLevel



 

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.