I am trying to get 3 divs to fill up an entire body tag. I have been changing lots of specs but I can never get them to fill up 100%. I need the outer divs to be no smaller than 185px because of images. How do I get the middle one to fill up the rest of the page? Here is what I have right now, though it has changed a lot and I guess I will continue to change it.
I have googled it but i guess I don't know exactly what to google.
Code:
.left-side {
float: left;
width: 16%;
min-width: 185px;
}
.main-div {
float: left;
width: 68%;
}
.right-side {
float: right;
width: 16%;
min-width: 185px;
}
I have googled it but i guess I don't know exactly what to google.
Last edited: