Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2012
    Posts
    6

    Unhappy Pages jump left or right when viewing

    I created a 12 page site for our Legion Post. I have double checked the sizes of all pages and alligned all the same on each page. Some of the pages when navigating seem
    to nudge right from the index page. Then of course the Index will nudge back when selected.

    Any help appreciated

  2. #2
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Pages jump left or right when viewing

    Hi Rocky, Welcome to TG

    If the page is shifting from left to right as you link between short and long pages then it is likely due to the browser scrollbar appearing and disappearing.

    The solution is to put this in the head section of each page on your site.

    Code:
    <style type="text/css">
    html { overflow-y: scroll; }
    </style>
    If you have any questions, just ask

  3. #3
    Join Date
    Jan 2012
    Posts
    6

    Default Re: Pages jump left or right when viewing

    Thank you for your reply, however.. I think I understood...I created a placeholder with the code and attached it to each page. When I bring it up in view mode there are no scroll bars I still get the nudge
    Last edited by Rocky; 27 January 2012 at 08:53 PM.

  4. #4
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Pages jump left or right when viewing

    Hi Rocky

    Put it here, under the website tab.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Rocky.jpg 
Views:	157 
Size:	105.3 KB 
ID:	86933  

  5. #5
    Join Date
    Jan 2012
    Posts
    6

    Default Re: Pages jump left or right when viewing

    I added the code to each page still have the problem... please check out the page you can see what I'm refering too. http://alpost110.org

    On a lighter side I used the simple scroll routine, works great unless your nav bar has drop down menus the text disapears in drop down lol

    I'm new at this...

    thanks for your assistance!

  6. #6
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Pages jump left or right when viewing

    Hi Rocky

    I've had a look at your site and all the pages are long enough to require a scroll bar so it's not a page shift problem due to the bar appearing/disappearing.

    The only "shift" I could see was page shadow moving position between pages. (FF 9.0.1)

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •