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 7761557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:10:00+00:00 2026-06-01T14:10:00+00:00

So currently I have: #div { position: relative; height: 510px; overflow-y: scroll; } However

  • 0

So currently I have:

#div {
  position: relative;
  height: 510px;
  overflow-y: scroll;
}

However I don’t believe that it will be obvious to some users that there is more content there. They could scroll down the page without knowing that my div actually contains a lot more content. I use the height 510px so that it cuts off some text so on some pages it does look like that there is more content, but this doesn’t work for all of them.

I am using a Mac, and in Chrome and Safari the vertical scroll bar will only show when the mouse is over the Div and you actively scroll. Is there a way to always have it displaying?

  • 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-01T14:10:01+00:00Added an answer on June 1, 2026 at 2:10 pm

    Just ran into this problem myself. OSx Lion hides scrollbars while not in use to make it seem more “slick”, but at the same time the issue you addressed comes up: people sometimes cannot see whether a div has a scroll feature or not.

    The fix: In your css include –

    ::-webkit-scrollbar {
      -webkit-appearance: none;
      width: 7px;
    }
    
    ::-webkit-scrollbar-thumb {
      border-radius: 4px;
      background-color: rgba(0, 0, 0, .5);
      box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    }
    
    /* always show scrollbars */
    
    ::-webkit-scrollbar {
      -webkit-appearance: none;
      width: 7px;
    }
    
    ::-webkit-scrollbar-thumb {
      border-radius: 4px;
      background-color: rgba(0, 0, 0, .5);
      box-shadow: 0 0 1px rgba(255, 255, 255, .5);
    }
    
    
    /* css for demo */
    
    #container {
      height: 4em;
      /* shorter than the child */
      overflow-y: scroll;
      /* clip height to 4em and scroll to show the rest */
    }
    
    #child {
      height: 12em;
      /* taller than the parent to force scrolling */
    }
    
    
    /* === ignore stuff below, it's just to help with the visual. === */
    
    #container {
      background-color: #ffc;
    }
    
    #child {
      margin: 30px;
      background-color: #eee;
      text-align: center;
    }
    <div id="container">
      <div id="child">Example</div>
    </div>

    customize the apperance as needed. Source

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

Sidebar

Related Questions

I have something like this currently: <div class = className style = position: absolute;
I currently have a div that acts like a gallery so to speak. div
Ok, I have the following layout/CSS: div#wrap { margin-left: auto; margin-right: auto; position: relative;
I currently have a simple setup: a centered container div that is 90% width
Currently have password protection on my main and sub directories, however I'd like to
I currently have 4 textboxes which will be used to store an ip address.
In the second table cell I have a div inside of it that I
have a box that displays images wrapped in a div from a database 4
I have a div container with height:auto, this I assume would increase the height
I have an intranet web project that is currently using the IEWC tabstrip and

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.