I am building a page that i have in contained in a wrapper div. the div was set for a specific lenght. How do i make it so that the page will expand to fit the amount of content. so it’s not a set length
well i did it by just removing the length property on the div and the main content areas. Is this an acceptable way or is there a better way?
That is good ofcourse, if you don’t set the height of an element, it has an auto hight. You could also consider a min-height so it’ll be at least as high as or higher than a specific height.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".