Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/01/2012, 10:43
eriixt
 
Fecha de Ingreso: julio-2011
Ubicación: Argentina
Mensajes: 7
Antigüedad: 12 años, 10 meses
Puntos: 0
Respuesta: Forma correcta de crear header 100% width

disculpa, aca tienes el codigo css:

Código:
/* ------------------------------- FONDO ------------------------------- */
body, html {
	background-color: #D1D2DC;
	background-position: top;
	background-repeat: repeat-x;
	margin: 0 auto;

}
/* ------------------------------- CABEZERA ------------------------------- */
#header {
	width: 100%;
	height: 186px;
	background: url(../../bg12/images/theme/header_bg.jpg), repeat-x, #333;
	margin: 0 auto;
}

/* HEADER TOP */
#header_top {
	width:970px;
	height:36px;		
	margin:0 auto;
	padding-top: 10px;
}
.header_top {
	font-family: Helvetica;
	font-size:12px;
	color:#fff;
	text-shadow:#000 3px 1px 2px;
}
#header_top_left {
	width:60%;
	float:left;
	overflow: hidden;
}
#header_top_right {
	float:left;
}
html:

Código HTML:
<div id="header">
	<div id="header_top" class="header_top">
    	<div id="header_top_left">
        DIV LEFT
        </div> 
    <div id="header_top_right">
        DIV RIGHT
        </div>
    </div>
</div> 
asi es el header ventana completa:



acá el error cuando achico la ventana: