Thanks for this tip, it’s invaluable! I’ve been looking for a way to prevent my page from flipping out when something moves the bottom underneath the screen. Shanks sho mush!
Mmmmm… scrollbars.
Note: This post is over 2 years old. You may want to check later in this blog to see if there is new information.
The following links are auto-generated but may help you locate newer content:
I had a problem, and I fixed it. On our web page, with the sliding panes of content, when the page started shorter than the height of the browser window in any browser other than Internet Explorer, there were no scrollbars. When the panes were expanded, it added scrollbars. This changes the width of the browser window, thus re-centering the fixed-width content in the window and shifting it over by approx. 10 pixels. I found it annoying. So I’ve added one line of CSS ( html { height: 100%; margin-bottom: 1px; } ) that forces scrollbars to appear at all times. I’ve heard arguments for and against doing this, but I’ve shunned the critics for the good of the people. However, I’ve not tested it in all browsers yet, so if it causes problems for anybody, please let me know immediately! 
-
08.04.06 / 2pm
Comments are closed
Comments are currently closed on this entry.