View Full Version : Nesting layers expanding

10-08-2010, 09:44 PM
My page is defined by a layer. Inside that I have three vertical columns. The left is a vertical layer with text.
The middle is a layer with photo, fixed size. Under it is a layer of the same width with text.
The right layer has minor text.
The problem is depending on text size, the middle layer extends beyond the main layer. I would like the main layer to expand with the longest column, but it does not. It seems to be following the right column. Heights are not specified in any columns.
Appreciate any help.

10-09-2010, 12:25 AM
If, by layers you mean absolutely positioned divs that's not a good way to layout a page. You should use relatively positioned divs along with the float and clear properties to create your layout.