View Full Version : Colouring Scrollbar in CSS problem


Zumoro
04-10-2007, 02:34 PM
Okay, i'm trying to colour the scrollbar in IE so it'll match the colour scheme of my site.


body
{
background-image: url('maingradient.gif');
background-repeat: repeat-x;
background-attachment: fixed;
bgcolor: #ccaa00;
scrollbar-3dlight-color: #ffdd00;
scrollbar-arrow-color: #444400;
scrollbar-base-color: #aaaa00;
scrollbar-darkshadow-color: #888800;
scrollbar-face-color: #aaaa00;
scrollbar-highlight-color: #dddd00;
scrollbar-shadow-color: #aacc00;
scrollbar-track-color:#666600;
}

for some reason it won't work, and i'm testing it in IE 6!

any ideas?

(if it helps, here (http://www.freewebs.com/pyramidia) is a link to my site)

Ges
04-10-2007, 04:54 PM
Hi Zumoro,
I have noticed the line at the top of your code;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

needs replacing with;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
to get it working in IE.
I have tested this and now all is OK but I suspect other problems in the code under;
<!--- Start Freewebs Blog Code --->
Also, there are still Firefox problems so I will look further into that issue. I just need more time!

Let me know.

Regards,
Ges.