Big Monty
asked on
style a scroll bar
I'm trying to style a scroll bar in a DIV (or any other container) using the css I found here:
http://farrukhobaid.wordpress.com/2013/01/16/dark-scrollbar-skin-for-javafx/
as a test, I put the css in a style tag in a blank html file and used the following code to see what would happen:
no matter what I do, I don't get any style. am I missing something or is this code no good?
http://farrukhobaid.wordpress.com/2013/01/16/dark-scrollbar-skin-for-javafx/
as a test, I put the css in a style tag in a blank html file and used the following code to see what would happen:
<div class="scroll-bar" style="height: 300px; width: 100px; overflow: scroll;">
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
kjhgfgft<br /><br />
</div>
no matter what I do, I don't get any style. am I missing something or is this code no good?
What browsers are you testing with?
ASKER
chrome and IE9 (shudder)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That code is for https://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm
Try removing all of the -fx-
Try removing all of the -fx-
ASKER
ya that's what I presumed, just wanted to double check. I'll look into a jquery or bootstrap solution (if it exists) and go that route.
I tried removing the -fx- from the css and it still didn't work. Thx anyways
I tried removing the -fx- from the css and it still didn't work. Thx anyways