tags:

views:

45

answers:

1

Hi. Im not a web dev but I catch quickly. Excuse my grammer as I dont know the correct terms for web developing.

I have a div(id=mainContainer) that has inside innerContainer which floats to the right. The mainContainer expands when comments are added but I also would like the innContainer to expands aswel. Is this possible? And how?

A: 

Yes add the following under the innerContainer:

<div style="clear:both;height:1"></div>

Another solution could be to make the outer div float aswell.

Fabian
Im doing the samething like this: http://tutorialzine.com/2010/03/sponsor-wall-flip-jquery-css/ If you look on the right,(darker gray col), I can bet that auto expands when comments are placed.
Daveyon