FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Scroll Bar colors....

 


salman_500
hey guyz,

i have this code in my CSS on every page of mine but i dont get the effects i want on IE.

i use this:

Code:
BODY {
   SCROLLBAR-FACE-COLOR: #DFDFDF;
   SCROLLBAR-HIGHLIGHT-COLOR: #F2EFEF;
   SCROLLBAR-SHADOW-COLOR: #C8C8C8;
   SCROLLBAR-3DLIGHT-COLOR: #F4F5F5;
   SCROLLBAR-ARROW-COLOR: #000000;
   SCROLLBAR-TRACK-COLOR: #C1C1C1;
   SCROLLBAR-DARKSHADOW-COLOR: #C2C2C2;
}


so can any1 tell me how i can get it to work...

and another thing...

can som1 tell me how can i do so that i put all css stuff in another file and then include it on several pages and put to use...

i tried doin so linking to the css like this.

Code:
<link href="../CSS/css.css" rel="stylesheet" type="text/css">


but when i do stuff on page like... for a text i do this
Code:
class=".text"
it doesnt work... can som1 help?
sush
I don't remember God telling me that CSS was case sensitive, but give it a try anyway Razz Plus lowercase is more readable anyway.

And omit the dot in

class=".someclass"

It should be

class="someclass"

But in the CSS, it should be

.someclass {
property-name: value;
}
traviantr
For scrool bar colors you can use this codes..

Code:

scrollbar-face-color : #000000;
scrollbar-highlight-color : #000000;
scrollbar-3dlight-color : #000000;
scrollbar-shadow-color : #000000;
scrollbar-darkshadow-color : #000000;
scrollbar-track-color : #000000;
scrollbar-arrow-color : #000000;


you can chance the color codes.. And whic code changes what u can see from this image..





Yo can include css into your site if your web page and css are in the same folder, like this
Code:
<link rel="stylesheet" type="text/css" href="style.css" />



when u include css into your page dont use like this
Code:
class=".text"


but use like this..

Code:
class="text"


OK.. Wink
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.