phb5000
05-11-2007, 02:55 PM
Hi,
I wish to have a "content area" that has a height of 100% and that has overflow: auto (so that its scrolls). However, I cannot seem to get this to work!
What I've tried is to add a div with styles of height 100% and overflow auto/scroll. However, when the div's content actually spills over its height of 100% (of its parent) the div just expands instead of adding scrolling!
How can I stop this from happening?
How can I make sure that the Div's height remains at the height of its parent container?
Can the problem have something to do with the fact that the div is in a table?
Are there any other ways of making a content area that has a 100% height and scrolls, without using a div?
I wish to have a "content area" that has a height of 100% and that has overflow: auto (so that its scrolls). However, I cannot seem to get this to work!
What I've tried is to add a div with styles of height 100% and overflow auto/scroll. However, when the div's content actually spills over its height of 100% (of its parent) the div just expands instead of adding scrolling!
How can I stop this from happening?
How can I make sure that the Div's height remains at the height of its parent container?
Can the problem have something to do with the fact that the div is in a table?
Are there any other ways of making a content area that has a 100% height and scrolls, without using a div?