|
|
|
|
![]() ![]() |
Aug 11 2004, 09:22 AM
Post
#1
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 24 Joined: 9-August 04 Member No.: 753 |
to change the colour of the scrollbar just change the html colour coding
CODE Add to the <HEAD> of your page. <style> <!-- BODY{ scrollbar-face-color:#75EA00; scrollbar-arrow-color:brown; scrollbar-track-color:#EEEEEE; scrollbar-shadow-color:''; scrollbar-highlight-color:''; scrollbar-3dlight-color:''; scrollbar-darkshadow-Color:''; } --> </style> |
|
|
|
Aug 11 2004, 11:59 PM
Post
#2
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 42 Joined: 7-August 04 Member No.: 713 |
Thats accually not HTML at all its CSS or Cascading Style Sheets.
CSS Allows the web builder to add specifications to thier HTML Document. Go here to find out more about it: W3C Schools |
|
|
|
Aug 12 2004, 02:19 AM
Post
#3
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 78 Joined: 6-August 04 Member No.: 694 |
You can actually define the background color for the scrollbar in your marquee tag.
Here is an example. <marquee bgcolor=000000> Hello </marquee> (black background) Its simpler than using styles. |
|
|
|
Aug 12 2004, 11:54 AM
Post
#4
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 385 Joined: 7-August 04 From: UK Member No.: 703 |
i made a topic about these before, about a css scrollbar generator (makes it easier than playing around with the code yourself):
http://www.trap17.com/forums/index.php?showtopic=710 |
|
|
|
Aug 12 2004, 07:33 PM
Post
#5
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 45 Joined: 4-August 04 Member No.: 667 |
QUOTE(loc @ Aug 12 2004, 02:19 AM) You can actually define the background color for the scrollbar in your marquee tag. Here is an example. <marquee bgcolor=000000> Hello </marquee> (black background) Its simpler than using styles. That's the background of a marquee, not the scrollbars. |
|
|
|
Aug 16 2004, 11:11 AM
Post
#6
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 78 Joined: 6-August 04 Member No.: 694 |
Oh, I thought you guys were talking about text scrolling bars. Hence, Marquee. In that case, here is a code using CSS... it's the simplest way. Insert this into the head of your website, and fill in the colors appropriately for your website:
<style type="text/css"> <!-- BODY{scrollbar-3d-light-color:000000; scrollbar-arrow-color:000000; scrollbar-base-color:000000; scrollbar-dark-shadow-color:000000; scrollbar-face-color:000000; scrollbar-highlight-color:000000; scrollbar-shadow-color:000000;} --> </style> |
|
|
|
Aug 21 2004, 07:10 AM
Post
#7
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 316 Joined: 31-July 04 From: Australia Member No.: 344 |
i was told that u can put that into your html code aswell... but i never tired using it.. i jsut went with CSS
|
|
|
|
Sep 15 2004, 08:13 PM
Post
#8
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 21 Joined: 14-September 04 Member No.: 1,106 |
Be wary of using it, though. I'm not entirely sure that changing the scrollbar is a W3C standard, as it put up errors when I tried to validate CSS that used it. While I think it looks nice done properly, just be careful. Also, if it is valid, could someone give me a link to the W3C page that says so? I can't seem to find it in their list of valid CSS tags.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 7th October 2008 - 12:13 AM |