General discussion

Locked

SCROLL BAR

By chris_haydock ·
When desing a web page (Using Front Page) how do you change the colour of the schroll bar?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

CSS or javascript

by dude In reply to SCROLL BAR

you can use either JavaScript or CSS to change the color of scrollbars. a style sheet might look like the following:


<html>
<style>
body {
background-color : #FFF000;
scrollbar-arrow-color: #330000;
scrollbar-base-color: #0066cc;
color : #ffffff;
}
</style>

<body class="body">

<b>hello scroll bar color</b>


</body>
</html>

if you want to change the color dynamically or rotate colors, then you definitely need JavaScript

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums