ThatOtherGuy
12-07-2006, 02:09 AM
I am trying to make a centered 3 column layout with a banner on the top with a width of 700px.
So there would be the banner/header, and then below it, the 3 columns.
I just have absolutely no idea what I am doing wrong.
HTML
<body>
<div id="wrapper">
<div id="banner">
banner
</div>
<div id="navi">
---------------
</div>
<div class="bodyPara">
---------------
</div>
<div id="right">
---------------
</div>
</body>
body {
text-align: center;
}
#wrapper {
border-style: solid;
border-width: thin;
margin-left: auto;
margin-right: auto;
margin-top: 0;
margin-bottom: 0;
width: 700px;
text-align: left;
}
#banner {
border-style: solid;
border-width: thin;
width: 700px;
height: 75px;
text-align: left;
padding: 0;
}
#navi {
border-style: solid;
border-width: thin;
width: 80px;
height: auto;
text-align: left;
float: left;
padding: 0;
}
.bodyPara {
border-style: solid;
border-width: thin;
width: 500px;
height: auto;
text-align: left;
float: left;
padding: 0;
}
#right {
border-style: solid;
border-width: thin;
width: 120px;
height: auto;
text-align:left;
float: left;
padding: 0;
}
So there would be the banner/header, and then below it, the 3 columns.
I just have absolutely no idea what I am doing wrong.
HTML
<body>
<div id="wrapper">
<div id="banner">
banner
</div>
<div id="navi">
---------------
</div>
<div class="bodyPara">
---------------
</div>
<div id="right">
---------------
</div>
</body>
body {
text-align: center;
}
#wrapper {
border-style: solid;
border-width: thin;
margin-left: auto;
margin-right: auto;
margin-top: 0;
margin-bottom: 0;
width: 700px;
text-align: left;
}
#banner {
border-style: solid;
border-width: thin;
width: 700px;
height: 75px;
text-align: left;
padding: 0;
}
#navi {
border-style: solid;
border-width: thin;
width: 80px;
height: auto;
text-align: left;
float: left;
padding: 0;
}
.bodyPara {
border-style: solid;
border-width: thin;
width: 500px;
height: auto;
text-align: left;
float: left;
padding: 0;
}
#right {
border-style: solid;
border-width: thin;
width: 120px;
height: auto;
text-align:left;
float: left;
padding: 0;
}