Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/01/2009, 12:18
Avatar de Italico76
Italico76
 
Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años, 1 mes
Puntos: 292
Exclamación Respuesta: No puedo centrar nada en el "cuerpo"

Amigos: gracias pero sigo fallando y ya exploto de frustracion!

Ahora incluso saque el DIV de la izquierda......y fijé en 800 la unica 'columna' y aun asi sigo sin poder centrar!

Cita:
<?
header("Content-type: text/css");
?>

body {
text-align : center;
background-color: #F99B21; /* amarillo de fondo */
margin-top: 0px;
}

#contenedor{
border : 0px dashed #000000;
text-align: center;
width:800px; /* min-width */
margin: 0px auto;
background-color: #FFFFFF;
background-image:url(/imagenes/fondo_gris120.gif);
background-repeat:repeat-x;
}

<!-- left aca -->

#cuerpo {
border : 0px dashed #333333;
min-width : 540px;
float: left;
margin-left: -5px; /* antes 15 */
/ margin-left: -5px; /* antes 15 */
padding-right:10px;
margin-top: 10px; /* antes 0 */
text-align: center;
}

/* antes right */

#footer {
clear: both;
margin-top:10px; /* funciona solo despues de usar un div con clear:both */
height: 65px;
background-color: #000000;
text-align:left;
}

#inside-footer {
padding-top: 10px;
color: white;
text-align:left;
margin-left: 15px;
margin-right:15px;
}

#footer a,a:hover,a:visited{ /* defino como se ven los enlaces en el footer */
color:red;
text-decoration: none;
}

.clear {
line-height: 0px;
font-size: 0px;
clear: both;
height: 0px;
}

#header {
margin: auto;
text-align: center;
color:white;
}

#header h1 {
font-size:41px;color : red;
text-transform: uppercase;
text-decoration:none;
}

.favoritos { /* usar punto(.) si es class' y numeral(#) si es con 'id' */
color: white;
width : auto;
padding-right:10px;
float: right;
}

.favoritos a{
color:white;
text-decoration: none;
}

.favoritos a:visited{
color:white;
text-decoration: none;
}

.favoritos a:hover {
color:yellow;
text-decoration: none;
}
__________________
Salu2!