Forum Moderators: not2easy

Message Too Old, No Replies

DIV Float Height Problems

Match heights of other divs?

         

phatmonkey

8:52 pm on Mar 9, 2005 (gmt 0)

10+ Year Member



I'm sure there is a simple explaination for this. I have three floating divs. The two left and right of the centre one have background images. The centre one contains content. Obviously I want the background images to stretch the length of the content div in the middle. How is this possible?

alias

4:55 am on Mar 10, 2005 (gmt 0)

10+ Year Member



Setting the height of the floating divs to 100% (height:100%) should do the job, unless there are more divs on the top or bottom. In that case there would be a bit more styling involved.

phatmonkey

6:42 pm on Mar 10, 2005 (gmt 0)

10+ Year Member



This works if I set the height of <html>, <body> and the div it's contained in to 100%, but it still only makes it the height of the browser window. I had already tried that with no success.