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 | |
---|---|---|---|---|
Scrollbar visible only if content
|
0 | 76 | February 5, 2008 | |
CSS: div height | 0 | 80 | April 21, 2005 | |
CSS: div height
|
0 | 34 | April 21, 2005 | |
Conditional Scrollbars | 0 | 38 | March 25, 2009 | |
Questions about Dynamic text and scrollbars(file inside) | 0 | 83 | April 29, 2009 |