Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8808045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:31:15+00:00 2026-06-14T02:31:15+00:00

I know you can define overflow:hidden; on the body of the HTML to remove

  • 0

I know you can define overflow:hidden; on the body of the HTML to remove the scrollbar, but I would like to still be able to scroll with the arrows or scroll wheel on a mouse.

Thanks in advance for any help.

Edit:
Thanks for all the advice about on hover scrollbars and custom bars. Also thank you for all concerns about impacting users experience by removing the scrollbars. I shall elaborate a little more so you explain where I am coming from.

I have a circular page (if you scroll with a scroll wheel or arrow button, when it reaches the bottom it resets to the top of the page and starts again). A never ending loop. A scrollbar impacts on this as a bar is limited and when it reaches the bottom and resets to the top the users mouse is still at the bottom of the page meaning when they move it there is some flickering between the top and bottom of the page.

I plan to remove the scroll bar and replace it with arrow buttons at the top and the bottom of the window. This is why I would like to remove the scrollbar completely but leave the scrolling functionality.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:31:16+00:00Added an answer on June 14, 2026 at 2:31 am

    There is a library for jQuery named jscrollpane http://jscrollpane.kelvinluck.com/#examples that can modify very much.

    But if you only want to hide the bar, you can also push this scrollbar out of view: http://jsfiddle.net/H27BK/

    <div id="content">
        <div id="scrollable"> ... ... ... </div>
    </div>
    

    with CSS

    #content {
        position: relative;
        width: 200px;
        height: 150px;
        border: 1px solid black;
        overflow: hidden;
    }
    #scrollable {
       height: 150px;   
       width: 218px; /* #content.width + 18px */
       overflow-y: scroll;    
    }
    

    This all based up on a bar-width of 18 pixel.


    So we can do some javascript scrollbar width detection script or simply add another div that we put in front of the scrollable div.

    http://jsfiddle.net/uNzEz/

    HTML is now:

    <div id="content">
    <div id="scrollable">
    <div id="txt"> ... ... ...
    </div></div></div>
    

    with CSS like:

    #content {
        position: relative;
        width: 200px;
        height: 150px;
        border: 1px solid black;
        overflow: hidden;
    }
    #scrollable {
       height: 150px;   
       width: 240px; /* the bar-width can be theoretical 240px - 200px = 40px */
       overflow-y: scroll;    
    }
    #txt {
        width: 200px;
    }
    

    ​

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know if I can define custom assembly attributes. Existing attributes
I know I can define default parameters in python, but can I do so
I'd like to know how can I define two signatures for the constructor with
I know you can define a global variable in Objective-C by using extern, but
I want to know Can I define any function application wide ? like say
I like to know can we define an interface within an interface. like interface
I know you can define them indirectly achieve something similar with companion objects but
I know I can define new structs in ruby by doing Person = Struct.new(:first_name,
As I know I can define a new Enum DataFormat at the my project
I know that one can define an 'expected' exception in JUnit, doing: @Test(expect=MyException.class) public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.