Log in

View Full Version : Customised scroll bars


majorj0nny
10-22-2007, 08:25 AM
Hi - a few modules im using brng up scrollbars ... this in itself i dont mind, but they seem to take their colours from the standard windows colour settings for the PC you are on ?

Ive found this code :

<STYLE>
<!--
BODY
{ color:black;
background-color:#a0a0a0;
scrollbar-face-color:#903030;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#C0B0B0;
scrollbar-shadow-color:rgb(0,0,0);
scrollbar-highlight-color:rgb(0,0,0);
scrollbar-3dlight-color:#808080;
scrollbar-darkshadow-Color:#202020;
}
-->
</STYLE>

if I slap that into the header template it effects some of my modules but not all ? is there a better way to do this to force scrollbars on my site to a colour scheme that matches my site? and why wouldnt this work for certain modules?

adding


{ color:black;
background-color:#a0a0a0;
scrollbar-face-color:#903030;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#C0B0B0;
scrollbar-shadow-color:rgb(0,0,0);
scrollbar-highlight-color:rgb(0,0,0);
scrollbar-3dlight-color:#808080;
scrollbar-darkshadow-Color:#202020;
}


my my additional CSS definitions does not seem to produce any change ?


thanks in advance.

cheat-master30
10-22-2007, 08:44 AM
Okay, can you post the full CSS and what ones don't supposedly work? Oh, and secondly... these scroll bar styles are not valid and are Internet Explorer specific since standard styles do not edit the browser interface or anything except the actual page.

majorj0nny
10-22-2007, 11:09 AM
Okay, can you post the full CSS and what ones don't supposedly work? Oh, and secondly... these scroll bar styles are not valid and are Internet Explorer specific since standard styles do not edit the browser interface or anything except the actual page.

is there another way of doing this for vbulletin? Ive asked the same question over at abadvanced because really its portal page modules Im trying to effect with this..

on my homepage Im using vbshout as a module, and also several game monitors... the vbshout seems to be effected if I add this code to the top of my header... though the gamemonitor somes dont for some reason ?

with you saying they will only work in IE - is there another way of doing this that will work in anything ?

I remember a while ago someone altered an old shoutbox code to replace the standard scroll bar with some java style arrows that looked neater?

cheat-master30
10-22-2007, 01:44 PM
is there another way of doing this for vbulletin? Ive asked the same question over at abadvanced because really its portal page modules Im trying to effect with this..

on my homepage Im using vbshout as a module, and also several game monitors... the vbshout seems to be effected if I add this code to the top of my header... though the gamemonitor somes dont for some reason ?

with you saying they will only work in IE - is there another way of doing this that will work in anything ?

I remember a while ago someone altered an old shoutbox code to replace the standard scroll bar with some java style arrows that looked neater?

First, you would need to post the code for the part of the template where it's not working to know why it isn't. Maybe the monitor thing is coded differently than the shoutbox for the front end? Because if one is in Flash, Shockwave or Java, there's no hope in trying to alter it.

There is not an alternative that will work in anything.