Click to See Complete Forum and Search --> : [RESOLVED] Scrollbar width not the same cross-browser
Ultimater
05-05-2006, 06:03 PM
http://javascript.aplustv.com/colors/colorpicker.htm
The scrollbars in Firefox look perfect however in Opera and IE the scrollbar is smaller and leaves an unwanted gap to the right... How do I Opera and IE to render like Firefox?
Little Goat
05-05-2006, 09:25 PM
http://javascript.aplustv.com/colors/colorpicker.htm
The scrollbars in Firefox look perfect however in Opera and IE the scrollbar is smaller and leaves an unwanted gap to the right... How do I Opera and IE to render like Firefox?
that space is there because there is an up/down scroll bar too.
as for how to take it away, :confused: ??? maybe set the height to 1px.
LG
#scale div{
overflow: auto;
overflow-y:hidden;
white-space:nowrap;
width:100px;
height: 20px;
}
Ultimater
05-07-2006, 04:30 AM
Little Goat, right you are! It is because the up and down scroll bars. I'd have never thought. Well... never is a long time.... would have been hard to figure.
Fang, that did the trick!
overflow: auto;
overflow-y:hidden;
Both lines necessary to get it to work in IE and Opera alike.
Thank you both. It works!