...

View Full Version : Scrollbar color question



Len Whistler
12-19-2005, 10:18 PM
In my style.css file I have coded all the scrollbar colors. But I only get colored scrollbars in my feedback form, BUT the IE6 browsers scrollbars remain the default gray. I think it has something to do with my link to my style.css file.

<link rel="stylesheet" type="text/css" href="style.css">

Does anyone have any suggestions? Thanks

_Aerospace_Eng_
12-19-2005, 10:19 PM
No not the way you link to it, scrollbar colors only work in IE so thats the first problem second, the scrollbar colors need to be applied to both html and body in the CSS not just body.

Len Whistler
12-19-2005, 10:42 PM
Thanks _Aerospace_Eng_. What do you mean by "scrollbar colors need to be applied to both html and body in the CSS not just body"?

Below is what I have in the style.css

body {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #2C1794;
background-color: #E2ECF9;
scrollbar-face-color: #ADD7F8;
scrollbar-highlight-color: #E2ECF9;
scrollbar-shadow-color: #ADD7F8;
scrollbar-3dlight-color: #A0D2F9;
scrollbar-arrow-color: #006699;
scrollbar-track-color: #BBDEF9;
scrollbar-darkshadow-color: #98AAB1;

}

_Aerospace_Eng_
12-19-2005, 10:47 PM
html, body {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #2C1794;
background-color: #E2ECF9;
scrollbar-face-color: #ADD7F8;
scrollbar-highlight-color: #E2ECF9;
scrollbar-shadow-color: #ADD7F8;
scrollbar-3dlight-color: #A0D2F9;
scrollbar-arrow-color: #006699;
scrollbar-track-color: #BBDEF9;
scrollbar-darkshadow-color: #98AAB1;

}
If that doesn't work then post a link because then there is obviously another conflict.

Len Whistler
12-20-2005, 04:32 AM
Thanks _Aerospace_Eng_ ....... The "html" part solved the problem.:)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum