![]() |
Scroll Bar Color
How do you change the color of the scroll bar on your website? :yikes: because it is really coool!!!
|
Re: Scroll Bar Color
Quote:
Code:
BODY { |
Re: Scroll Bar Color
Quote:
here is a tutorial: http://www.websitetips.com/info/css/scrollbars.html BTW: Although many browsers understand it, scrollbar styling is not w3c supported, however it is fairly safe to use because if a browser doesn't support it, then o well.. the scrollbar won't show up styled. |
Re: Scroll Bar Color
Thanks alot!! :yikes: i posted like less than 5 minutes ago and got two answers....chief delphi forums and you guys are great! lol
|
Re: Scroll Bar Color
Quote:
|
Re: Scroll Bar Color
Something else that works great is
Code:
body { scrollbar-base-color: #009900; } |
Re: Scroll Bar Color
thanks for the code but im not quite sure how to add it? someone please explain thanks :yikes:
|
Re: Scroll Bar Color
Quote:
In each html file or php file that you want to access the style.css file with, you need this in the html's <head> tag, linking to the css file as you would an image, etc. with its directory and file name: Code:
<head> |
Re: Scroll Bar Color
Since you seem new at html/css, you should check out some of the tutorials at www.htmlgoodies.com
Nicely written for the aspiring webmaster :) |
Re: Scroll Bar Color
The other way is by using the following in the <head> tags:
<style type="text/css"> body { .... } </style> This isn't as efficient because if you ever want to change it you will need to edit every document (while you only have to edit a single linked style sheet in the other method). |
Re: Scroll Bar Color
ok thanks i got it to work you guys are awsome!
|
| All times are GMT -5. The time now is 16:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi