Choan C. Gálvez said "If you remove the width declaration for #content,
the div will get an
"auto" width, which means it will expand to the available space."
You should only have width:100%; on #header.
Try this:
/*hack for Opera, which adds 10px to the right*/
html * body{
margin-right: -10px;
}
body{
margin: 5px;
}
#header{
width: 100%;
height: 75px;
border: solid 1px #666666;
background-color: #EFEFEF;
}
#navigation{
float: left;
margin-top: 15px;
margin-right: 15px;
margin-bottom: 15px;
width: 165px;
border: solid 1px #666666;
}
#content{
margin-top: 15px;
margin-left: 187px;
margin-bottom: 15px;
border: solid 1px #666666;
background-color: #EFEFEF;
}
h2 {
clear: both;
border: solid 1px #666666;
background-color: #EFEFEF;
}
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/