View Full Version : CSS Scroll bar colors code in 3.07
syrus.xl
06-19-2005, 09:12 AM
Hi,
I have been trying to find where I can insert the code to change my scroll bar colors in vB.
I did place it in the body code but all that did was change the scroll bars with anything in the vB body, not the actual browser scroll bars which I wanted to achieve. :ermm:
So, where should the code be inserted?
Zachery
06-19-2005, 01:20 PM
Body doesn't work because your in XHTML 1.0 Trans
place it into the .html {} class instead.
syrus.xl
06-19-2005, 08:22 PM
Well I tried adding the following code:
/* scroll bars */
.html {
scrollbar-arrow-color: #FF9933;
scrollbar-3dlight-color: #1194CD;
scrollbar-highlight-color: #F6F7F8;
scrollbar-face-color: #0099FF;
scrollbar-shadow-color: #0099FF;
scrollbar-track-color: #FF9933;
scrollbar-darkshadow-color: #0853AF;
}
in the Main CSS Style > Additional CSS Definitions and I still cannot get it working. Is this the correct place where this code should go?
filburt1
06-19-2005, 09:24 PM
Note it is not valid CSS and will only work in Internet Explorer as it is; it's also considered bad UI design to change the scrollbar.
But, if you insist, remove the dot in from of the HTML declaration; you want to select the HTML tag, not any tag with a class of "html."
syrus.xl
06-20-2005, 06:56 AM
I know its classed as bad UI design - but the rest of my site I have uses it. It has been around for years you would have thought it would be valid by now.
Thanks though, that worked :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.