SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2003
    Location
    FL
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Page jerk due to scroll bar questions

    Hello,

    I've designed a few sites. Stretchy type left hand adjusted never an issue. I started a new one 800p aligned center and am noticing that in any browser other than IE, when the scrollbar isn't there, the page jerks to center without the scroll bar. So with the scroll bar there, it is in one place and on short pages with no scroll bar it jerks to align itself center.
    I tried searching but I didn't know what to call the issue. Clicking between pages looks terrible though.

    Would someone mind posting what code I could use to fix this issue. Or what I can do to fix the scrollbar jerk issue in browsers such as Mozilla and firebird.

    Thank you,
    rjspence

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    I'd be inclined to just not worry about it, but if you REALLY want scrollbars on the side all the time, you can use some CSS:
    Code:
    body {
      margin-bottom: 1500px; /*or some other absurd number*/
    }

  3. #3
    SitePoint Member
    Join Date
    Nov 2003
    Location
    FL
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,

    Thank you. That is certainly one way to do it. I gave it a shot and it works fine. I changed the 1500px to 150 though and that was enough to do it.

    Thank you for the quick reply. It's appreciated.
    Rjspence


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
  •