My html page is built of top banner, middle area content text and bottom banner. Middle area content size might change: sometimes it might show 10 lines, sometimes 150 lines, depends on php script output.
I am using position:absolute, here is an example:
<div id=”textarea” style=”position:absolute; overflow:hidden; left:293px; top:1358px; width:406px; height:32px; z-index:4″>
So basically, its a text box where the content shown with banners above it and below it.
Problem is, i need this box to be without bottom limitation. If the content is only 10 lines, there is lots of blank space above the bottom banner. If the content text is 150 lines long, the text gets hidden above the bottom banner and it looks bad.
Removing “height” value did not help, in that case the text overflows the bottom banner and continues all the way down.
I would need the content to “push” the bottom banner down if there is lots of content, so the content wont get hidden.
If there is almost no content, i would need the bottom banner not to stay all the way down on the page but to be shown right after few lines of content, so it wont show all that blank space.
Any ideas?