How to color Horizontal and Vertical bar ?

This is very easy, just you will have to add a JavaScript code between the head tag in webpage. Two samples are provided below :


Sample 1


<style>
 BODY { SCROLLBAR-FACE-COLOR: FFD700; SCROLLBAR-HIGHLIGHT-COLOR: FA8F30; SCROLLBAR-SHADOW-COLOR: FA8F30; SCROLLBAR-3DLIGHT-COLOR: FA8F30; SCROLLBAR-ARROW-COLOR: 11AA14; SCROLLBAR-TRACK-COLOR: COCOCO; SCROLLBAR-DARKSHADOW-COLOR: 0E356E }
</style>


Sample 2

<style>
BODY { SCROLLBAR-FACE-COLOR: C4E1FF; SCROLLBAR-HIGHLIGHT-COLOR: C4E1FF; SCROLLBAR-SHADOW-COLOR: ff0080; SCROLLBAR-3DLIGHT-COLOR: ff0080; SCROLLBAR-ARROW-COLOR: ff0080; SCROLLBAR-TRACK-COLOR: COCOCO; SCROLLBAR-DARKSHADOW-COLOR: ff0080 }
</style>




Note:
1. To remove all formatting, copy/paste the code in Notepad first, then into webpage
2. Find <head> and  </head> tag in webpage code, paste between them
3. Modern browsers may not support this code

Popular posts from this blog

Basic Math Calculator

Beautify JavaScript and jQuery Code

Image to Base64 Converter

How to take Screenshot ?

Megapixels vs DPI : How to buy a good camera?