views:

20

answers:

2

I have two columns in a center column. (They are all div tags.) When I set the inner divs to float:left, the outer div does not wrap around the inner divs.

Why, and how do I fix that?

A: 

Add position: relative to your outer div. (or position:absolute but you probably don't want absolute positioning)

Nico Burns
This did not seem to work.
Moshe
ah sorry, I misread your question. My answer fixes a similar problem where the floating div floats in the wrong place.
Nico Burns