...

View Full Version : website moves about 5 pixels



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

http://zend.warrencreative.com/gemini-group/index.html

Excavator
05-14-2010, 03: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.

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

jarv
05-14-2010, 04:49 PM
:):):):):):):):):):)

please help me!

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

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

Excavator
05-17-2010, 07: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