Confused about div height
Hello,
I have a div that I want to extend only as far as everything else on the page. I do NOT want it to extend farther, increasing the height of the document. How is this possible using CSS and HTML?
Thank you.
Also:
I want that div to scroll when its content is too big for the page.
Set a fixed height in CSS.
And set the overflow:scroll for the containing div in CSS
You mean specify a height in pixels? I can't do that, as I want the div to be as long as the rest of the page, not a fixed, unchanging length...
Actually, just try setting to overflow:true and see what happens.
You might need to sue javascript to find the height of the window and then set the div height from there.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks