Horizontal scrollbar only firefox

Hi,
Can anyone tell me how to use only one scrollbar only in firefox. In IE you can use overflow-x:auto; overflow-y:auto, but this only works in IE. So can anyone please give me the equivalent in firefox if there is one.
thanks
dm14011Asked:
Who is Participating?
 
COBOLdinosaurCommented:
overflow:-moz-scrollbars-horizontal
overflow:-moz-scrollbars-vertical

are the moz/FF hack to match the stupidity of M$

I strongly recommed against useing IE  or FF specific code it will burn you in the long run.  If you can't work within the standards next generation of browsers is really going to make your life miserable.

Cd&
0
 
German_RummCommented:
Hi dm14011,

add white-space: no-wrap to your style. This works both in IE6 and FF:
    <div style="overflow: auto; height: 40px; width: 200px; white-space: nowrap;"></div>

Cheers!
0
 
GrandSchtroumpfCommented:
Those properties are non-standard properties and are not supported by firefox.
For css support: http://www.blooberry.com/indexdot/css/supportkey/position.htm
There is no strict equivalent.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.