Closed Bug 265864 Opened 20 years ago Closed 20 years ago

Centered Page "jumps" on scrollbar appearance

Categories

(Firefox :: General, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 72540

People

(Reporter: kaeptn00, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

Don't know if there might be a solution for this cosmetic problem but I'll put
into the pipe anyways ...

Pages where the whole content is centered in the browser window "jump" to the
left when the pages gets longer than the visible height.

I know that IE has the space for the scrollbar alway visible to avoid that. I
also know that Firefox displays the scrollbar only if needed but this results in
the mentioned problem and makes it impossible to make the page stay where it is.
Which is, from the designers point of view, an important requirement.

Considering a dynamic page where the UI elements stay the same but the length of
the content varies it is an annoying experience for the user when the page
content "jumps" to the left and back again a couple of pixels when browsing
through a site where content is sometimes longer than the visible space and
sometimes shorter.

Reproducible: Always
Steps to Reproduce:
1. Go to google.com (did not find a better example)
2. Reduce window height until vertical scrollbar appears


Actual Results:  
Page jumps to the left and back when changing window height

Expected Results:  
Page should stay centered in the window not in the rendered space. As an
alternative rendering method perhaps?

*** This bug has been marked as a duplicate of 72540 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
sorry for causing another dupe thread. It would be helpful if there was a page
with that kind of infomation. Or did it not come to my mind to search long enough?

Well, anyways. Sorry for causing trouble. And for those who do not want to
search tons of "scrollbar" bugs without any further keywords to search for there
should now be enough in this thread. The link where you want to go for a solution is
here

http://forums.mozillazine.org/viewtopic.php?p=569350#569350

Go to the second page and to the bottom.

Or for the lazy ones, try the following in your web-page style sheet:
html {overflow:-moz-scrollbars-vertical !important;}

Status: RESOLVED → VERIFIED
Ok. Me again.

Where's my horizontal scrollbar? If I use

html {overflow:-moz-scrollbars-vertical !important;}

a possibly necessary horizontal scrollbar does _NOT_ appear.

Where is the solution? I could not find any so I am reopening that thread.

Please point me to a solution that:
- Gives me control over the scrollbars, both vertical and horizontal and not
exclusivly one or the other.
- In no case hides any scrollbar when needed (except explicitly stated otherwise)

Thanks
Status: VERIFIED → UNCONFIRMED
Resolution: DUPLICATE → ---
I assume this was reopened by mistake, re-duping.

*** This bug has been marked as a duplicate of 72540 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.