开发者

Website "moves" a bit

My website at http://www.oblivionro.net isn't properly vertically-aligned when you click on a different link in the menu.

For开发者_JS百科 example, if you go from the home page to the ventrilo page, you'll notice that the alignment of the website shifts to the right and down a bit. I know a fair bit about php, but I'm not that great when it comes to css and designing websites.

Anyone know what the problem might be? Thanks in advance.


Your link doesn't work for me, but I can guess what the problem is. To fix it, add:

html {
    overflow-y: scroll
}

That will force the vertical scrollbar to always be visible, so there will no longer be a "shift" when you move between pages that do/do not have a vertical scrollbar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜