Forum Moderators: not2easy

Message Too Old, No Replies

Two floating columns nested in a div, removed from flow! Help

         

splatteralus

7:26 pm on Aug 5, 2005 (gmt 0)

10+ Year Member



I have two columns nested within a container div. Since they are floated they are removed from the flow and the div does not stretch to fit the content inside the columns. Is there any way to do a two column layout without floats? There must be someway to do this, any help is appreciated.

Thanks,
Graham

garann

7:47 pm on Aug 5, 2005 (gmt 0)

10+ Year Member



I think a solution to your problem might be to have another element (say <p> or <br>) after your two columns with
clear:both;
in its style code. That ought to push the bottom of the containing element down to where you want it.

splatteralus

7:58 pm on Aug 5, 2005 (gmt 0)

10+ Year Member



NICE! Thank you very much!