Scroll bar moved layout slightly to left

If content on ALL of my site either did or didn't require a scroll bar, the transitions when clicking from page to page would all look smooth. Unfortunately I have some pages that are short (and so the browser displays no display bar) and other pages that are long, and when the scroll bar appears, my content gets moved slightly to the left.   I suppose I could just keep adding a bunch of new paragraphs at the bottom of my short pages until a scroll bar appears, but this problem is bugging me. I'd like to fix it the real way. To visualize this problem see attached pictures below.
And here's some of the code that I think is relevant to my issue here.
body {
    background-attachment: fixed;
    background-image: url(images2/palisades.jpg);
    background-repeat: no-repeat;
    background-color: #000000;
    background-position: center left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 0;
    padding: 0;
.header {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
Below: the scroll bar pushes content slightly to the left.

Actually, this one looks pretty simple.
The first page shown is long enough to need a vertical scrollbar. When that scroll bar kicks on, the actual width of the page changes slightly, so the content (which appears to be centered) will shift to the left when the scroll bar appears.
If it really bothers you (most visitors would never notice it) you can add a scroll bar to every page on your site (the pages that don't need it will pop up with a grayed out bar that doesn't allow scrolling) and your pages won't shift anymore if you add in overflow-y:scroll to the body tag css....
body {
     overflow-y:scroll;

Similar Messages

  • My scroll bar is now on the left. how do I move it back to the right side?

    When Firefox updated overnight I woke up to a nightmare. My scrollbar was now on the left. How do I get it moved back to the right?

    You may have other problems as well.
    ''Scrollbars in the user interface may appear on the left or right side of the content, depending on whether the language viewed is read right-to-left or left-to-right. However, a user may want to keep the scrollbar on one side irrespective of the content’s language, or even the host OS’s language. This preference is an attempt to make the scrollbar position as customizable to the end user as possible.''
    * http://kb.mozillazine.org/Layout.scrollbar.side
    In your '''about:config''' change configuration variable '''layout.scrollbar.side''' to '''2''' to place the scrollbar on the right side of the content.
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)]

  • In FF 4.0 why does the down arrow no longer function in the vertical scroll bar?

    Prior to FF 4.0 when I positioned my cursor over the down arrow of the vertical scroll bar in Hotmail and depressed the left mouse button, the scroll bar moved downward toward the bottom of it's column limit. Now in 4.0 it turns into an adjustment cursor forcing me to readjust the size of the Hotmail window rather than moving the scroll bar down the column. This only seems to happen in Hotmail.

    Check: http://kb.mozillazine.org/Website_colors_are_wrong
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    * You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    * You can see all exceptions in Tools > Options > Content: Load Images > Exceptions
    * You can check the Tools > Page Info > Media tab for blocked images (scroll through all the images)
    There are also extensions (Tools > Add-ons > Extensions) that can block images.

  • Return to initial position when dragging scroll bar

    There is a function in Windows that when using mouse cursor to drag the scroll bar, moving the cursor away from the scroll bar makes the bar go back to its initial position. Does OS X have a similar function? It is useful when looking figures during reading a large document.

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • My page has moved to the right of the screen so I do not have a full centre page. How do I move the page back to the centre of the screen. There is no bottom scroll bar for me to move the page to the left of the screen. Hope this makes sense

    The picture on my screen has moved over to the right hand side and I want it to be in the centre. How do I move it back as I do not have a scroll bar at the bottom of the page to do this and am unable to drag it back. Hope this makes sense!

    Its a toolbar thing. I got rid of my Babylon toolbar and it sorted it out!

  • The scroll bar makes my layout shift to the left on some of my pages

    Hi
    Ive got a website im designing, some of the pages have a
    scroll bar some dont, because some have more content than others.
    When the scroll bar appears on the right on some of my pages
    the content shifts abit to the left. This makes it look abit
    inconsistent. Does anyone know what i can do about this?
    Thanks

    1. Make sure your page has a valid and complete doctype.
    2. Add this to your stylesheet -
    html,body { min-height:100%; margin-bottom:1px; }
    It will force a vertical scrollbar on all pages, even those
    that wouldn't
    need it, on Mozilla and Safari (which are the two browsers
    where the
    vertical scrollbar belongs to the page and not the browser).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Simon2k7" <[email protected]> wrote in
    message
    news:f7j534$qhg$[email protected]..
    > Hi
    >
    > Ive got a website im designing, some of the pages have a
    scroll bar some
    > dont,
    > because some have more content than others.
    >
    > When the scroll bar appears on the right on some of my
    pages the content
    > shifts abit to the left. This makes it look abit
    inconsistent. Does anyone
    > know
    > what i can do about this?
    >
    > Thanks
    >

  • I would like to know it it's possible to change the scroll bar from the right part of the firefox browser, to the left part and, if it's possible, how can it be done. Thank you!

    The scroll bar (the one used to scroll up and down any kind of website), that is normally in the right part of the firefox browser, would be of much help to me if it could sometimes be moved to the left part of the browser. Is this possible? How can it be done? Can anybody tell me the exact steps to take in order to do this (if it is possible of course)? This would be helpfull to me, since I think that the firefox scroll bar is overlaping the scroll part of the facebook chat sidebar, since I just can see a few people on this facebook chat sidebar and I can´t scroll along it, as I could a while ago. So my guess is that the firefox scroll bar is covering the other. In order to solve it in a simpler way, I guessed that if the firefox scroll bar could be moved to the left side of the browser, this problem could be solved. So, can anybody help me?

    http://kb.mozillazine.org/layout.scrollbar.side
    Type '''about:config''' in Location (address) bar
    filter for '''layout.scrollbar.side'''
    Right-click the Preference and Modify it to '''3'''
    You may need to reload any pages open to have scrollbar move to left after Preference change.

  • Can i put the scroll bar on the left hand side of the page

    i am left handed and using a touchscreen asus and would like to get the scroll bar on the left

    Hi!
    Yes, you can!
    # Type "about:config" (without quotations) in the urlbar and hit Enter
    # Search for "layout.scrollbar.side" (without quotations) variable
    # Double click on that
    # Modify the value to "3" (without quotations)
    # Click Ok
    # Restart Firefox

  • Why is the scroll bar on the left?

    I had to do a systems restore (using Vista) and now the scroll bar is on the left; it used to be on the right. If I use IE9 the scroll bar is on the right. What happened.

    Set the pref layout.scrollbar.side to '2' to place the scroll bar at the right side.
    See http://kb.mozillazine.org/layout.scrollbar.side (default is 0: user interface)

  • Horizontal scroll bar in OAF screen flexible layout

    Hi Gurus,
    We have developed an OAF screen using flexible layout. Currently we have two tabs showing in the same window. We are unable to increase the number of columns in the result table of the flexible layout as there is no horizontally scroll bar getting added dynamically.
    Please let me know any pointers on this.
    Thanks in Advance.
    Thanks & Regards,
    Nagesh.

    Tapash,
    I hope ur talking about this thread:
    Page Scrolling
    User did it in JTF i.e. jsp not in OAF, thats' what I was thinking, because OAF does not provide js api's for OATableBean, unless I create my own custom table , like we do in jsp.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Adobe Reader move the vertical scroll bar from left to right

    Hi,
    is it possible to move the vertical scroll bar from left to right in Adobe Reader 9?
    If not, are you planning to implement this functionality?

    I meant from right to left, sorry
    You see, I'm left handed and when I use the scroll bar that is on the right side with the left hand I don't actually see the content of the page, because my left hand is covering the screen (I'm browsing the internet in tablet mode and I use the pen to navigate between pages).
    My system is a Tablet PC with Windows XP Tablet Edition 2005 and Adobe Reader 9.3.2.
    P.S. can you edit my post so the google indexes it right? (
    from right to left
    instead of "from left to right")

  • How to shift Verical scroll bar from right to left??

    hi..
    I have added a JTable to a JScrollPane. This adds a verical scroll bar to the right of my table.
    Now I want to have this vertical scroll bar added to the left of my table.
    is it possible? if yes then suggest how??

    setComponentOrientation( ComponentOrientation.RIGHT_TO_LEFT)

  • Removing scroll bar from Nav Panel & Work Area layout

    Hi Guys,
    I have a requirement to remove the scroll bar which appears between nav panel and Work Area in 'Nav Panel and work area layout'.
    I would like it to be as a single page as we get in narrow: wide layout.
    Well I could just do it by using a narrow:wide layout, but the challenge is I also need the collapse/expand Icon which we get in Nav Panel/WA layout.
    I am looking fcor help with either
    1. Removing the scroll bar from Nav Panel/WA layout
    Or
    2. Adding collapse/expand  icon to narrow:wide layout.
    Thanks,
    Yomesh

    Hi Yomesh ,
    If you want to enable the expand/collapse icon , then you can set the property named Show Tray of the page to yes and then test . By default the property meant for showing the expand/collapse icon is set to yes . You only need to enable the tray and check .
    I did not get the requirement that you have with respect to scrollbar . Where is that scrollbar appearing that you want to remove?
    Regards
    Mayank

  • Component on page not moving as vertical scroll bar is moved

    All -
    I have a mxml page that is a mx:Application.  This page basically consists of a VBox
    and a number of components included within that VBox.  All but 1 of the components
    within this VBox are built-in flex components.  The one component that is not a built-in
    flex component is the one that is causing me issues.  The issue is happening when I run
    the application, once running the vertical scroll bar appears on the right-hand side of the
    page (as expected because I have quite a few items in my VBox).  The problem is that as
    I drag the vertical scroll bar from the top of the page to the bottom of the page, the custom
    component within my VBox that I built is staying put (it's not moving with respect of the
    movement of the vertical scroll bar).  All of the built-in flex components that are within my
    VBox are moving with respect of the movemnet of the vertical scroll bar as expected.
    I appreciate any information that you can provide that will lead me in the right direction,
    Thank you,
    Wes

    // THIS IS THE CUSTOM COMPONENT

  • JScrollPane: Can the Vertical Scroll Bar go on the left?

    Hope you can help,
    Im using a JScrollPane within another one, i.e, I have a component inside a JScrollPane, and one of its components is a JScrollPane. This is fine and dandy, but the internal scrolled component gets pretty tall and wide, so people end up using the OUTER horizontal scroll bar to scroll to the INNER vertical scrollbar to scroll DOWN the inner component.
    What would be really nice would be to have the INNER scrolled component to have its scroll bar on the LEFT to save the above hassle.
    Is this possible with JScrolledPane?

    In JScrollPane (jdk1.3)
    public void setComponentOrientation(ComponentOrientation co)
    Sets the orientation for the vertical and horizontal scrollbars as determined by the ComponentOrientation argument.
    Parameters:
    co - one of the following values:
    java.awt.ComponentOrientation.LEFT_TO_RIGHT
    java.awt.ComponentOrientation.RIGHT_TO_LEFT
    java.awt.ComponentOrientation.UNKNOWN

Maybe you are looking for

  • Preview not showing some text in certain PDFs

    I've had issues with a couple of PDFs this year that did not display correctly in Preview, but are viewable in Acrobat Reader. An example is here on pages 31-36. Preview shows blank gridlines, but Acrobat Reader shows text and numeric data in those c

  • Adobe Acrobat Professional 8.1.2, Locking toolbars

    In Adobe Acrobat Professional 8.1.2, how do I keep the Comment & Markup Toolbar from repopulating itself with the functions I've unchecked in the "More Tools" add/remove window? I've selected Lock Toolbars, however upon next reboot, they're back agai

  • Problem with printing to a Dell Laser Printer

    Just switched to CS5 Indesign. Trying to print to a Dell laser 1720dn printer. The printer is returning am Error message; ERROR: undefined Offending Command    looks like 0e ligature STACK: 17.9807 -mark- -dictionary- INDesign CS4 had no problems and

  • Missing output format radio button in SAP Query

    Hi SAP Gurus We have SAP Query which as created in 4,6c. After the upgrade to ECC 6.0 We found that the output format radio button is mising in SAP Query. We are unable to choose teh output format. How can we have the radio button back? Appreciate yr

  • How do I get the IPad2 to find printer?

    How do I get the IPad2 to find printer? I've set the printer up with the Bonjour service.