I have 3 divs on a line, surrounded by a another div(wrapper?) The middle section is content, while the div to the left and right work as borders (images). The middle section expands as should, but the left and right won't follow it.
The CSS:
As you can see, there are no height attributes. I've taken them out atm, because no one worked.
The CSS for the document is:
Thankful for replies
Code:
<div id="frame_wrapper"> <div id="frame_left"></div> <div id="frame_middle"> content bla bla </div> <div id="frame_right"></div> </div>
Code:
#frame_wrapper { top: -230px; width: 944px; position: relative; z-index: 75; border: 1px solid black; } #frame_left, #frame_right, #frame_middle { background-repeat: repeat-y; width: 22px; margin: 0 auto; overflow: auto; } #frame_right { background-image: url(skin/new/frame_r.png); float: right; } #frame_left { background-image: url(skin/new/frame_l.png); float: left; } #frame_middle { background-color: #eeeeee; width: 900px; }
The CSS for the document is:
Code:
html, body { height: 100%; } /* if you remove this then the container disappears in IE */ * html #container { height: 99%;
Thankful for replies
Comment