The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 8 of 8

Thread: pages in firefox jump from left to right when there is no scroll bar? a fix?

  1. #1

    pages in firefox jump from left to right when there is no scroll bar? a fix?

    if a website has say five pages and for of them have a lot of content that makes the pages long, then firefox has the scroll bar - no problem. But lets say that the contact page is consederably shorter in length, then the scroll bar in firefox disapears and the page alignment changes slightly. this results in the page tending to jump slightly from left to right as a user switches between the contact page and other pages.

    Is there a fix for this - any way of forcing the scroll bar to remain even if the page is short - as it does in internet explorer?

    thank you.
    I sing like Dali and paint like Marley - That's a problem!

  2. #2
    If anyone is reading this and has the same problem - i'm posting this way to fix it. In the css add this:

    html {
    overflow-y: scroll;
    overflow:-moz-scrollbars-vertical; }

    Just thought i'd post
    I sing like Dali and paint like Marley - That's a problem!

  3. #3
    yea i noticed that too but took it for granted ... thanks for the fix man

  4. #4
    there is an even better way that validates when testing :

    its this:

    /* the following html code ensures that scroll bars appear in firefox and stops the effect of short pages jumping from side to side */
    html {
    min-height:100%;
    margin:0 0 0.25px 0;
    border:0; /*IE has a default border around the page*/
    padding:0;}
    I sing like Dali and paint like Marley - That's a problem!

  5. #5
    ok cool thanks for that ... ill have to try it next time

  6. #6
    glad to help dude
    I sing like Dali and paint like Marley - That's a problem!

  7. #7
    with such a cool sig quote what do i expect

  8. #8
    I sing like Dali and paint like Marley - That's a problem!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012