Click to See Complete Forum and Search --> : [RESOLVED] Page Shifts Right when using Java Widgets & Iframes


seanmanser
04-03-2010, 11:29 AM
My News, Map & Schedule Pages all shift to the right when clicked on. I'm trying to figure out why and would like to put a stop to it

www.freddycab.com/news/news.php
The news page is using a Javascript Twitter Widget, as does my homepage. Weird thing is, the home page doesn't do the shift.

www.freddycab.com/map/map.php
www.freddycab.com/schedule/schedule.php
My Map & Schedule pages are using Iframes from Google maps and Google calendar.

Any help would be wicked!
Thanks
Sean

www.freddycab.com

justanothergirl
04-03-2010, 12:31 PM
Hi Freddy,

I think i''m dealing with a similar problem... only my page shifts to the left everytime you click on a link... i don't know if it has the same cause but i hope someone can help figure it out... I hope i can change some simple thing in the code so it will work without rebuilt the whole site... :confused:

thanks

seanmanser
04-03-2010, 01:08 PM
I really should do more re-search before posting...

I found this http://ryanfait.com/resources/forcing-vertical-scrollbars/

The problem is when you have a centered website and there's more content than can fit vertically it shifts for some strange reason. By adding 1 px margin, it forces a vertical scrollbar at all times and fixes the problem.


So simple....hopefully this helps "justanothergril"