A ver si esto te puede dar una mejor idea:
estilo.css
Código CSS:
Ver original.body
{
}
#header
{
width:960px;
height:100px;
border-top:1px solid #e2e2e2; border-right:1px solid #e2e2e2; border-left:1px solid #e2e2e2;
margin: 0 auto;
background:#999933;
}
#contenedor
{
width:960px;
margin:0 auto;
height:100%;
overflow:hidden;/*background:url(images/grid.png) repeat-y center;*/
border-left: 1px solid #e2e2e2; border-right: 1px solid #e2e2e2;border-bottom: 1px solid #e2e2e2;
}
#col1
{
float:left;
width: 420px;
position: relative;
height: 300px;
background:#999933;
}
#col2
{
float:right;
width: 540px;
position: relative;
height: 100px;
background:#CC0066;
}
#col3
{
float:left;
width: 270px;
position: relative;
height: 200px;
background:#999933;
}
#col4
{
float:left;
width: 270px;
position: relative;
height: 200px;
background:#999933;
}
.clear{clear:both}
#pie
{
width:960px;
margin:0 auto;
height:100px;
background:#999933;
}
HTML:
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="estilo.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
<div id="header">CABECERA
</div>