knate5000 Posted June 26, 2007 Posted June 26, 2007 Is there a way to 'force' a vertical scroll bar to show up in FireFox? Even if you don't need to scroll down can you still make it appear? Thanks! Quote
flashram Posted June 27, 2007 Posted June 27, 2007 I believe the only way you could do that, was to automatically resize the window to less than the screen size that it is being shown on. Quote
knate5000 Posted June 27, 2007 Author Posted June 27, 2007 In your CSS put html { overflow: scroll; } Worked like a charm! Thanks a bunch! Quote
Pony99CA Posted June 30, 2007 Posted June 30, 2007 Is there a way to 'force' a vertical scroll bar to show up in FireFox? Even if you don't need to scroll down can you still make it appear? Your question has been answered, but I'm curious why you'd want to do this. From a user interface designer's point of view, scroll bars waste screen space and should only be shown when needed. Steve Quote
carbonize Posted June 30, 2007 Posted June 30, 2007 Possibly to add consistency across their site otherwise you get that bouncing effect when going from a page without the scrollbar to a page with it. Quote
Pony99CA Posted June 30, 2007 Posted June 30, 2007 Possibly to add consistency across their site otherwise you get that bouncing effect when going from a page without the scrollbar to a page with it. Yes, I can think of a few reasons why somebody might want to do it, but that's just speculation. I want to know why the OP wanted to do it -- there may be better ways to handle the task. One thing a good designer should do is get the real reason for a requirement. For example, if somebody says "I want this text bold on my site", it's easy to tell them about the B HTML tag (or, better, the SPAN tag with appropriate CSS). However, it's better to understand why they want the text bold -- is it just for looks, or is it part of something bigger that may be better handled by creating a new CSS class. Steve Quote
carbonize Posted June 30, 2007 Posted June 30, 2007 Well OK thats why I am using it on a site I am making. I have the site centered with a width of 760px. Some pages are smaller than the screen height and others are not. So when going between them everything shifts sideways which makes it appear that the design has changed. Quote
knate5000 Posted June 30, 2007 Author Posted June 30, 2007 (edited) Possibly to add consistency across their site otherwise you get that bouncing effect when going from a page without the scrollbar to a page with it. Well OK thats why I am using it on a site I am making. I have the site centered with a width of 760px. Some pages are smaller than the screen height and others are not. So when going between them everything shifts sideways which makes it appear that the design has changed. All of the above are the exact reasons. Carbonize must be a mind reader! Edited July 1, 2007 by knate5000 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.