Hi,
using the following code in the stylesheet of my website, i let it display custom colored scrollbars to fit the theme:
<style type="text/css">
<!--
BODY {
SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #4C4C4C;
SCROLLBAR-SHADOW-COLOR: #4C4C4C;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
SCROLLBAR-BASE-COLOR: #7F7F7F;
SCROLLBAR-3d-light-color: #ff0000;
SCROLLBAR-dark-shadow-color: #000000;
}
-->
</style>
however, in the gallery stylesheet, the same code does nothing. So, my question is, if anybody here knows how i can use custom colored scrollbars on the gallery sites. Thanks in advance for any help supplied.
Posts: 27300
Post you changed to the theme.css
It only works in IE.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
i tried putting that code in the theme.css (without the <style> tags) but it seems it still wont accept it or something, the scrollbar stays the way it is. :/
Posts: 27300
Does the theme you are using have :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
in theme.tpl ?if it does then colored scrollbars will not work EVEN with IE.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
yes it has that (matrix theme), can i get rid of it somehow or is it needed in any way other than declaring the strict standard?
Posts: 27300
If you get rid of the doctype I bet it will work. You will have to deal with other issues such as font size in the css if you remove it.
It only works for IE, is not good for usability, not standards compliant, and hard for visually impaired people to see. So I don't see the point.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
yeah well i probably wont use it now if it has that many incompabilities and stuff but i just wanted to know how you could make it work, thanks a lot.
edit: for the record: it still doesn't work so i think i will try to find a way to have no scrollbars at all and fit the content in.