as you can see here, there are two div’s, #main ([COLOR=“SeaGreen”]green[/COLOR]) and #bottom ([COLOR=“Red”]red[/COLOR]). I need [COLOR=“Red”]red[/COLOR] always to remain at the bottom of the user’s screen, I don’t want them to scroll past it. Ok that works. But the height of [COLOR=“SeaGreen”]green[/COLOR] will be based upon the content inside of it, which is different for each page. So if the user shrinks his browser far enough, much of the text in [COLOR=“SeaGreen”]green[/COLOR] becomes hidden. I figure overflow:auto would do the trick by adding vertical scrollbars if [COLOR=“Red”]red[/COLOR] overlaps [COLOR=“SeaGreen”]green[/COLOR], but [COLOR=“SeaGreen”]green’s[/COLOR] height is dynamic. Is there a way to overcome this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
CSS: div height | 0 | 80 | April 21, 2005 | |
CSS: div height
|
0 | 34 | April 21, 2005 | |
100% height in CSS | 0 | 114 | August 30, 2007 | |
CSS height issue, expand divs to content height | 0 | 115 | July 1, 2006 | |
Dynamic hight on scroll component
|
0 | 69 | January 29, 2006 |