Forum Moderators: not2easy

Message Too Old, No Replies

container div not resizing with internal divs

         

varese

8:43 pm on Aug 22, 2007 (gmt 0)

10+ Year Member



Hi,

I am having a problem getting a container div to extend in height with the content of two divs that are inside it. The two internal divs are floated right and left inside the container div, and I think this is causing the problem as when I clear the floats the container div DOES extend (i.e., its background color goes all the way down the page), but clearing the floats messes up the layouts, obviously.

Height:auto is not working.

Thanks,

Jon Varese

[edited by: jatar_k at 1:51 pm (utc) on Sep. 11, 2007]
[edit reason] no urls thanks [/edit]

jatar_k

1:52 pm on Sep 11, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld varese,

did you get this resolved? If not you could post some of the relevant code so members can have a look.