Log in

View Full Version : Scrollbar definitions not apparent



Haisook
03-31-2006, 09:43 PM
I've set the colors of the scrollbar in my blogger template. It does appear as it should be in the preview, but it doesn't at all in the website itself.

http://dr-haisook.blogspot.com/ (you can check the source)

What's wrong I wonder.. ?! :confused:

Help would be appreciated..

djr33
03-31-2006, 10:09 PM
changing the colors is stupid, anyway, I'd say.
Even if you do get it to work, then you have to realize you only can have it working in IE. other browsers don't support it.
Short of that, I'm not really sure why.

jscheuer1
03-31-2006, 10:34 PM
body {
background:#fff url(http://xs74.xs.to/pics/06133/blackdrops.jpg) repeat-x;
margin:0;
padding:40px 20px;
font:8pt Arial;
align: center;
text-align:center;
color:#000;
SCROLLBAR-FACE-COLOR: #232323;
SCROLLBAR-HIGHLIGHT-COLOR: #ddd;
SCROLLBAR-SHADOW-COLOR: #ddd;
SCROLLBAR-3DLIGHT-COLOR: #ffffff;
SCROLLBAR-ARROW-COLOR: #FF0000;
SCROLLBAR-TRACK-COLOR: #eeeeee;
SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
}

That's invalid, may throw off the rest of the style block. There are a number of style errors here and on the external stylesheet as well, the most important is that it ends like so:


.SB_table1 {
background-color : #FFFFFF;
border-bottom-color : gray;
border-bottom-style : solid;
border-bottom-width : 0;
border-left-color : gray;
border-left-style : solid;
border-left-width : 0px;
border-right-color : gray;
border-right-style : solid;
border-right-width : 0px;
border-top-color : gray;
border-top-style : solid;
border-top-width : 0px;
color : #000000;
font-size : xx-small;
}

blink;

Get rid of that red part. Sometimes the scrollbar styles must be set for the html selector rather than the body selector:


html {
scrollbar styles
}

Try validating your css (http://jigsaw.w3.org/css-validator/).

Haisook
03-31-2006, 10:41 PM
Thanks a lot jscheuer1.

djr33
04-01-2006, 12:27 AM
glad you got it fixed.
I just re-read my post and it sounded mean. Sorry about that. I just wanted to point out that it'll only work for like 2/3 of the people viewing your page.. but it won't hurt the others, so it is worth, I guess.

Haisook
04-01-2006, 02:07 PM
I understand djr33. It's totally ok. :)