Results 1 to 2 of 2
04-25-2008, 02:44 AM #1
div autosize...but only up to a point
im new to CSS, so im not sure if this is simple.
im looking for a way to autosize a div to the content, but only if the content is less than a certain number of pixels
high. Beyond that height, the scrollbars would pop up.
how would this be done?
08-21-2008, 09:31 AM #2
Re: div autosize...but only up to a point
Use the max-height property.