Get a free trial // Grow your CSS skills // Land your dream job

removing vertical scrollbar

  • # August 3, 2008 at 1:38 am

    is there a way to remove the vertical scroll bar from a div with overflow:scroll set

    I have a div which I only want to scroll horizontally, I am not sure why the vertical scroll bar is even there since the content doesn’t go down that far

    # August 3, 2008 at 10:20 am

    u can also do overflow-x: and overflow-y:
    instead of doing overflow:scroll.

    # August 5, 2008 at 2:28 am

    you can also try overflow:auto; that will sometimes clear it up if it’s not high enough to need the scrollbars

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed