View Full Version : Scrollbar


gemuk83
03-30-2007, 04:33 PM
I'm having problems with changing my scrollbar colour. It won't go any other colour than a grayish white colour no matter what colour code i use :confused:
Here's the code anyway I can't see anything obviously wrong so hopefully someone can help.

A:link
{ text-decoration: none; color:#000000}
A:visited
{ text-decoration: none; color:#000000}
A:hover{color:black;text-decoration:none ; background: #FF3030;

cursor: normal}

body
{ background-color: #FF3030;
background-attachment: value; [fixed]
scrollbar-face-color:FF3030;
scrollbar-shadow-color:black;
scrollbar-highlight-color:white;
scrollbar-3dlight-color:black;
scrollbar-darkshadow-color:white;
scrollbar-track-color:none;
scrollbar-arrow-color:black;

font-family: value; [tahoma]
color: #000000 ;
letter-spacing: value; [1pt]
font-weight: value; [normal]
font-size: value; [8pt]

margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
}

Ges
03-30-2007, 04:55 PM
Hi gemuk83,
There are a few errors in the your syntax of which I have now corrected. Just copy this into your <head> section and change the values to suit.


<style type="text/css">
<!--
A:link
{text-decoration: none; color:#000000
}
A:visited
{
text-decoration: none; color:#000000
}
A:hover
{color:black;text-decoration:none ; background: #FF3030;
cursor: default
}

body
{
background-color: #FF3030;
scrollbar-face-color:FF3030;
scrollbar-shadow-color:black;
scrollbar-highlight-color:white;
scrollbar-3dlight-color:black;
scrollbar-darkshadow-color:white;
scrollbar-track-color:none;
scrollbar-arrow-color:black;

font-family: Verdana;

color: #000000;
letter-spacing: 10px;
font-weight: bold;
font-size: 20px;

margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;

}
-->
</style>



Hope this is ok. Here is a link to some CSS info with lots of examples;

http://www.w3schools.com/css/default.asp

Hope this is ok.

Regards,
Ges.

gemuk83
03-30-2007, 05:58 PM
It's working correctly now.
Thanks
:)