View Full Version : website moves about 5 pixels

05-14-2010, 01:12 PM
on my website in Safari, when you click between the Home and About the site moves slightly, can anyone help?


05-14-2010, 02:15 PM
Hello jarv,
I think the scrollbar (http://nopeople.com/CSS/vertical_scrollbar/index.html) is more like 15px, that's what's making it move.

The usual fix for that is forcing a scrollbar all the time, even on pages that don't require it. That way the pages that need it don't move over to make room for it because it was there all along.

Add either height: 100.1%; or overflow-y: scroll; to the styling of your body.

05-14-2010, 02:24 PM
I don't understand, there is a scrollbar on the Home and About

05-14-2010, 03:49 PM

please help me!

05-14-2010, 03:50 PM
Try reducing the width of #controls, to say 280px.

05-17-2010, 08:58 AM
that didn't work?!

05-17-2010, 06:05 PM
I don't understand, there is a scrollbar on the Home and About

When my browser is 1200px tall the About Us page is not tall enough to need a y-scrollbar. The Home page jumps over when the scrollbar appears.

When I shrink the browser to 900px height so both pages need a scrollbar, I don't see any movement in FF3.x, IE8 or IE7.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum