Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/04/2007, 13:14
Avatar de hector_he
hector_he
 
Fecha de Ingreso: agosto-2006
Ubicación: Barcelona
Mensajes: 207
Antigüedad: 17 años, 8 meses
Puntos: 4
Tres columnas, IE7 vs Moz

Hola a todos,
tengo un problema con la visualización de una página:

En IE7 se reducen la culmunas central y derecha dejando un espacio.


En Moz a parte de reducir las fuentes de los headers, coloca toda la maquetación hacia la izquierda pero los espacios entre columnas son correctos.



Código PHP:
/* background height */
html {min-height100%;heightauto;}

BODY {
font-familyVerdanaArialHelveticasans-serif;
font-size12px
color:white;
margin6px 0px
text-aligncenter
background:#000000  url(images/bg.jpg) no-repeat bottom;


/* headers */
h1h2h3h4h5h6{margin:0px;}
h2{
text-align:left;
margin-bottom:4px
}
h3
background:#FF0066; 
text-align:left
padding4px;
font-weight:bold;
}
h4{
text-align:left;  
padding0px
margin-top:8px;
}
h5{
text-align:right;  
padding0px
margin:2px 0px 8px 0px;
}
h6{
font-weight:normal;
text-align:center;  
padding0px
margin:4px 0px;
}

/* div 2 columns*/
#container{
text-alignleft
margin0px;
padding0px;  
width:700px;

#head{
width:700px
height:200px
margin-bottom6px;
text-align:center;
}
#body{
margin10px 0px;


/* div lateral right*/
#lateral{
text-align:left;
width110px;
margin0px
float:right;
padding:8px;
background:#FA6494 url(images/bgright.jpg) repeat-x top;
}
#lateral ul{
margin:0px;
padding:0px;
list-
style:none;
}
#lateral li{
padding:0px;
margin-bottom:14px;
display:block;
}

/* text style and list */
.text{
width:380px
margin-bottom14px;
margin-left160px;
margin-right:auto;
padding10px 12px
background:url(images/bgtext.jpgrepeat-y center;
}
.
text ul{
margin:0px;
padding:0px;
}
.
text li{
list-
style:none;
margin:6px 0px;
padding:0px;
}

/* menu left */
#menu{
width:150px;
height:auto;
float:left;
background:#FA6494 url(images/bgmenu.jpg) no-repeat top;
text-alignleft;
margin:auto;
padding:6px 0px;
}
#menu ul {
margin:0px;
padding0px;
list-
style-typenone;
}
#menu li { 
width:150px
height:auto
margin:2px 0px;
}
#menu a {
colorwhite
font-size:14px
font-weightbold;
text-decorationnone
padding6px 12px;
displayblock;
}
#menu a:hover {
background:#FF6699 url(images/bgmenub.jpg) repeat center;

Text es la columna central, Menu la de izquierda y Lateral la dela derecha.

Muchas gracias.

Última edición por hector_he; 03/05/2007 a las 11:13