Page is a not externally linkable
- Browsers
-- Opera Browser Usage and Support
---- Scollbars cause page shift


encyclo - 9:19 pm on Jan 22, 2004 (gmt 0)


There is no practical solution to it.

Actually, there is a solution which forces a scrollbar, but it is a real hack. In your CSS file, add this:

#scroll { 
position:absolute;
top:0;
bottom:-0.1px;
width:1em;
z-index:-1;
}

and somewhere in your HTML, add:

<div id="scroll"></div>

That puts an absolutely-positioned div which is 0.1 pixels longer than the page, meaning that there will always be a scrollbar showing. Not ideal I know, but I've found nothing better.

Hope this helps!


Thread source:: http://www.webmasterworld.com/opera_browser/90.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com