I need a little help with style sheets:

If you have one layer nested withing another layer like this :

<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>

&lt;div class="parent"&gt;
&lt;div class="child"&gt;content&lt;/div&gt;


and you add content to the 'child' layer, the 'parent' layer doesnt automatically expand when the child layer expands. It there any way to make it stretch with the 'child' layer?

I appreciate your help.