Welcome to WebmasterWorld Guest from 107.21.149.142

Forum Moderators: incrediBILL

Message Too Old, No Replies

scrollbar Problem in Firefox

     
10:46 am on Sep 28, 2006 (gmt 0)

New User

10+ Year Member

joined:May 30, 2006
posts:12
votes: 0


Hi,
I have used overflow:-moz-scrollbars-vertical, it works well but when resize to 800x600 resolution i couldn't get the horizontal scroll where the data are beyond the view port couldnot visible. isthere any solution of having a disabled vertical scrollbar and when resiezing both vertical and horizontal scrollbar. if i remove overflow:-moz-scrollbars-vertical, the page used to get shifted. i have also used

overflow-y: scroll;
overflow-x: auto;
height: 100.01%;

If i use height: 100.01%; it used to get scrollbar with less content.

but no use. Any other solution.

9:47 pm on Oct 8, 2006 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 26, 2004
posts:3159
votes: 15


You can create an overflow div without defining the height and width using this method...

XHTML

<div class="body"></div>

CSS

div.body {
bottom: 5px;
left: 5px;
position: absolute;
right: 5px;
top: 5px;
}

Send me a sticky if this does not work the way you intend please. Good luck!

- John