Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: CSS: page bump

  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS: page bump

    I'm creating my first CSS-based site, and all is going well, except for some text issues (I think). Basically whats happening is, whenever I go to the about or project page, the whole site bumps a few pixels to the left. I know it's text related, as when I delete the paragraph in the about section and refresh, it doesn't bump. What am I doing wrong?

    http://www.hiex.info/dem/alt

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,698
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    It’s the scrollbar that appears when the content is longer than the height of the viewport.

  • #3
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    It’s the scrollbar that appears when the content is longer than the height of the viewport.

    Doh! I feel like an idiot.

    Added overflow: scroll; did the job.

    Actually, it only seems to work on the local side.

    Edit 2 - Did overflow-y: scroll; It works, but adds the scroll bars both horiz, and vert :\

    Edit 3 - html height: 101% seems to work better.
    Last edited by demetri90; 03-14-2012 at 03:23 AM.


  •  

    Posting Permissions

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