3 div boxes in a row
-
I’m trying to add three boxes next to each other, each one at a third of the page width. I’ve tried doing this but keep seeing problems (right box below others, extra box somehow in right nav, left colum now moves when viewing a post in I.E). Could anyone suggest what i’m doing wrong?
My site is wahow .org and I have the css setup as follows:
#container {
margin: 2px auto;
text-align: left;
width: 100%;
height: 130px;
border: 2px dotted #777744;
}
#leftbar {
float: left;
width: 33%;
height: 65px;
margin-left: 2px !important;
margin-left: 1px;
padding: 2px;
background: #f4f4f0;
border: 1px solid #777744;
}
#centralbar {
float: left;
width: 33%;
height: 65px;
margin: 0 2px;
padding: 2px;
border: 1px solid #777744;
}
#rightbar {
float: left;
width: 33%;
height: 65px;
padding: 2px;
background: #f4f4f0;
border: 1px solid #777744;
}Thanks for any help, I appreciate it.
- The topic ‘3 div boxes in a row’ is closed to new replies.