03-10-2010, 09:21 AM
Hi. I have a webpage.I have written below. It runs on explorer and firefox well. But in chrome,safari and opera when clicked on a menu item the page shifts. When you click In the menu "Ana sayfa" and "Kitaplar" you can see the page shift. I couldnt solve. Could you help?
03-10-2010, 10:11 AM
You are seeing the page shift over the width of the scrollbar that appears to scroll the longer content. The browsers your page "works" in probably already have a scrollbar there by default.
The solution is to force all browsers to have a scrollbar, even when the content is not long enough to require it.
See how to force a scrollbar (http://nopeople.com/CSS/vertical_scrollbar/index.html).
03-10-2010, 10:46 AM
03-10-2010, 11:00 AM
Just let it shift. That’s nothing to worry about as it is the “natural” behavior.