#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2007
    Location
    New England, USA
    Posts
    75
    Rep Power
    8

    Is it possible to hide a vertical scroll bar?


    Is it possible to hide a vertical scroll bar? I have a div that I just want to be able to horizontal scroll within a page. Is there a way to hide the vertical scroll???

    Thanks!
  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,131
    Rep Power
    4304
    In some browsers, yes.

    This might help you. (You may want to look at the other CSS articles there too.)
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2007
    Location
    New England, USA
    Posts
    75
    Rep Power
    8

    Thanks!


    Originally Posted by Kravvitz
    In some browsers, yes.

    This might help you. (You may want to look at the other CSS articles there too.)
    I stumbled on this just after I posted:

    Got it. For anyone who interested. Here are the css attributes:

    overflow-y: hidden ! important; overflow-x: auto ! important;

    The link you provided is more indepth and well worth the read.

    Thanks again!
  6. #4
  7. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,131
    Rep Power
    4304
    You're welcome

    Keep in mind that those two properties are only supported by IE5+/Win, Firefox 1.5+ (Mozilla 1.8+), and Safari 3+ right now.
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).

IMN logo majestic logo threadwatch logo seochat tools logo