NullVoxPopuli
NullVoxPopuli

Reputation: 65143

Is it possible to make a scroll bar outside of the content it's scrolling?

Now, if the background weren't textured I could do some CSS trickery with padding / margins and such.

When you do a scrollable div (which is what I'm doing now) like this:

overflow: auto;
height: 80%;

the scrollbar appears on the inside of the div that is being scrolled

Here is a mock up of what I'm trying to do:

enter image description here

Upvotes: 7

Views: 12623

Answers (1)

ptriek
ptriek

Reputation: 9276

Something like this:

http://jsfiddle.net/p75LE/2/

?

Upvotes: 8

Related Questions