Forums / Templates, Stylesheets, Page Layout / Shifting to the right

Shifting to the right

Locked

Views: 907

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Aug 2009, 3:43 AM
#1
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

Shifting to the right

depending on the page, the whole mainWrapper shifts to the right a couple of pixels.

I don't like the header hopping to the right and the to the left from one page to the next.

Has anyone else experience that, and I can't quite put my finger on how to correct that.

v.1.3.8a

Elliot

The loves of my life are a good white zinfandel and my dog Homer.

10 Aug 2009, 7:29 AM
#2
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: Shifting to the right

Nope. You have to give a link to your site to see whats actually wrong with it. But with the standard installation of v.1.3.8a there is no such problem for me. If there is a problem try to copy all installation files again and see if the problem is still there.

11 Aug 2009, 11:10 AM
#3
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

Re: Shifting to the right

Finally I found the problem.
It's the scroll bar!!!

The scroll bar shoves the whole page to the left and everything pops back to the right when it's not needed.

Can we shut the scroll bar off somehow so it doesn't behave this way ?

Elliot

The loves of my life are a good white zinfandel and my dog Homer.

13 Aug 2009, 3:13 AM
#4
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: Shifting to the right

You can always show the vertical scroll bar so this does not happen. Not sure if its a good idea to always hide to scroll bar even when its needed.
To always show the scroll bar add

try:

html {overflow: scroll;}

or

html { margin-bottom: 1px; }

See http://snippets.dzone.com/posts/show/217

to your css file.