[css-d] Growing a section vertically...
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. :-) Thanks, Michael __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] Growing a section vertically...
-Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Michael Beaudoin Sent: Friday, August 07, 2009 12:42 PM To: css-d@lists.css-discuss.org Subject: [css-d] Growing a section vertically... 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. :-) Thanks, Michael If you want the content to expand the section, then why do you have a specified height? Just remove that... Jenni __ css-discuss [cs...@lists.css-discuss.org] 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/
Re: [css-d] Growing a section vertically...
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 */ } __ css-discuss [cs...@lists.css-discuss.org] 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/