Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted
In your CSS put

 

html { overflow: scroll; }

 

;) Worked like a charm! Thanks a bunch!

Posted
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

Posted
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

Posted

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.

Posted (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 by knate5000

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...