CSS – Overflow: Scroll; – Always show vertical scroll bar?

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?

5 Answers
5

Leave a Comment