Pages jump left or right when viewing
I created a 12 page site for our Legion Post. I have double checked the sizes of all pages and alligned all the same on each page. Some of the pages when navigating seem
to nudge right from the index page. Then of course the Index will nudge back when selected.
Any help appreciated :)
Re: Pages jump left or right when viewing
Hi Rocky, Welcome to TG :D
If the page is shifting from left to right as you link between short and long pages then it is likely due to the browser scrollbar appearing and disappearing.
The solution is to put this in the head section of each page on your site.
Code:
<style type="text/css">
html { overflow-y: scroll; }
</style>
If you have any questions, just ask :)
Re: Pages jump left or right when viewing
Thank you for your reply, however..:) I think I understood...I created a placeholder with the code and attached it to each page. When I bring it up in view mode there are no scroll bars :( I still get the nudge
1 Attachment(s)
Re: Pages jump left or right when viewing
Hi Rocky
Put it here, under the website tab.
Re: Pages jump left or right when viewing
I added the code to each page still have the problem... please check out the page you can see what I'm refering too. http://alpost110.org
On a lighter side :) I used the simple scroll routine, works great unless your nav bar has drop down menus the text disapears in drop down lol
I'm new at this...
thanks for your assistance!
Re: Pages jump left or right when viewing
Hi Rocky
I've had a look at your site and all the pages are long enough to require a scroll bar so it's not a page shift problem due to the bar appearing/disappearing.
The only "shift" I could see was page shadow moving position between pages. (FF 9.0.1)