|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Scroll Bar Color
How do you change the color of the scroll bar on your website?
because it is really coool!!! |
|
#2
|
|||||
|
|||||
|
Re: Scroll Bar Color
Quote:
Code:
BODY {
scrollbar-face-color: #000000;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-Color: #000000;
}
|
|
#3
|
||||
|
||||
|
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. Last edited by Rickertsen2 : 12-01-2004 at 22:41. |
|
#4
|
|||||
|
|||||
|
Re: Scroll Bar Color
Thanks alot!!
i posted like less than 5 minutes ago and got two answers....chief delphi forums and you guys are great! lol |
|
#5
|
||||
|
||||
|
Re: Scroll Bar Color
Quote:
|
|
#6
|
||||
|
||||
|
Re: Scroll Bar Color
Something else that works great is
Code:
body { scrollbar-base-color: #009900; }
|
|
#7
|
|||||
|
|||||
|
Re: Scroll Bar Color
thanks for the code but im not quite sure how to add it? someone please explain thanks
![]() |
|
#8
|
|||||
|
|||||
|
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> <link href="style.css" type="text/css" rel="stylesheet"> </head> |
|
#9
|
|||||
|
|||||
|
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 ![]() |
|
#10
|
||||
|
||||
|
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). |
|
#11
|
|||||
|
|||||
|
Re: Scroll Bar Color
ok thanks i got it to work you guys are awsome!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Falling off the bar... :\ | Swampmonkey | General Forum | 47 | 14-03-2004 12:47 |
| Raising the bar...or lowering it? | Ben Mitchell | General Forum | 29 | 13-01-2004 03:30 |
| Make the bar lower to get on? | tkwetzel | Rules/Strategy | 28 | 12-01-2004 05:57 |
| Vertical bar interaction | Madison | Rules/Strategy | 5 | 10-01-2004 16:22 |
| Grab bar on bottom of goals | archiver | 2001 | 0 | 24-06-2002 00:49 |