The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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? |
|
#2
|
||||
|
||||
|
Body doesn't work because your in XHTML 1.0 Trans
place it into the .html {} class instead. |
|
#3
|
||||
|
||||
|
Well I tried adding the following code:
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;
}
|
|
#4
|
|||
|
|||
|
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." |
|
#5
|
||||
|
||||
|
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
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|