Horizontal scrollbar only firefox

Posted on 2005-04-28
Last Modified: 2008-02-01
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.
Question by:dm14011
    LVL 6

    Expert Comment

    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>

    LVL 30

    Expert Comment

    Those properties are non-standard properties and are not supported by firefox.
    For css support:
    There is no strict equivalent.
    LVL 53

    Accepted Solution


    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Mobile App Development with PhoneGap

    PhoneGap can help you leverage your already existing HTML5, JavaScript, and CSS skills in order to create and deploy cross-platform mobile apps.This program comprehensively covers HTML5 mobile app development from top to bottom.

    "I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now