> Message: 11 > Date: Sat, 8 Aug 2009 06:49:28 +1200 > From: Tim Snadden <[email protected]> > Subject: Re: [css-d] Growing a section vertically... > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > > On 8/08/2009, at 4:42 AM, Michael Beaudoin wrote: > >> I have a test where I would like to get the colored section this page >> to grow as the copy gets larger. >> >> Right now I have a set height, and I know that's not the way to do >> it, >> but I can't seem to get it to get larger vertically. >> >> You can see the page at http://www.ba-doyn.com/junk/saw/adults.htm. >> >> Be kind. :-) > > Google 'css containing floats'. > > #body-adult { > overflow: auto; > height: auto; /* <-- actually just remove the height you set */ > } >
The overflow worked perfectly. I still have a tough time with floats, but it's getting better. Thanks again. Michael ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
