Scrollbar color

the picture, is what i am trying to do…

I have tried using CSS:
<STYLE type="text/css">
scrollbar-face-color: #ffffff;
scrollbar-highlight-color: #ffffff;
scrollbar-3dlight-color: #ffffff;
scrollbar-darkshadow-color: #ffffff;
scrollbar-shadow-color: #ffffff;
scrollbar-arrow-color: #660066;
scrollbar-track-color: #ffffff;

But no luck…

The site is programmed in ASP.NET 2.0 VB script
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Where are you pasting the style code? It should be in <Head></Head> section.

Nutrockers Online Scrollbar Stylesheet Color Code Creator

damixaAuthor Commented:
Error      1      'scrollbar-3dlight-color' is not a known CSS property name.      C:\test2\CSS1.css      9      2      http://localhost/test/
damixaAuthor Commented:
i have a style.CSS document, i have pasted the code there, ind i have tried in <head>...
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

damixaAuthor Commented:
It doesn’t have to be an iframe, or be like my picture at all.
All I need is a custom scrollbar (vertical) that appears when a table of some kind is wider then 540px
damixaAuthor Commented:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

scrollbar-shadow-color: #ffffff;
is NOT supported by XHTML 1.0

if i remove this line, it works...

But i still need an XHTML 1.0 solution
I have tried this:

but i cannot get it work....
i have tried java script in both the src page and the doc loading the iframe and still no luck

    private void Page_PreRender(object sender, EventArgs e)
        // Define the name and type of the client scripts on the page.
        String csname1 = "PopupScript";
        String csname2 = "ButtonClickScript";
        Type cstype = this.GetType();

        // Get a ClientScriptManager reference from the Page class.
        ClientScriptManager cs = Page.ClientScript;

        // Check to see if the startup script is already registered.
        if (!cs.IsStartupScriptRegistered(cstype, csname1))
            String cstext1 = "alert('Hello World');";
            cs.RegisterStartupScript(cstype, csname1, cstext1, true);

        // Check to see if the client script is already registered.
        if (!cs.IsClientScriptBlockRegistered(cstype, csname2))
            StringBuilder cstext2 = new StringBuilder();
            cstext2.Append("<script type=text/javascript> ");
            cstext2.Append("var mode=0 ;");

            cstext2.Append("function blinkscroll(){ ");
            cstext2.Append("if (mode==0) ");
            cstext2.Append("frames['iframetest']\"blue\" ;");
            cstext2.Append("else ");
            cstext2.Append("\"green\" ;");
            cstext2.Append("mode=(mode==0)? 1 : 0 ;");
            cstext2.Append("} ");
            cstext2.Append("setInterval(\"blinkscroll()\",1000) ");
            cstext2.Append("</script> ");
            cs.RegisterClientScriptBlock(cstype, csname2, cstext2.ToString(), false);


I have been researching this, iframes are not xhtml compliant, therfore there is actually no real "solution".

In the doctype directive though you can experiment, there are different types to suit your needs for compatiblity,
check out

hopefully this will sort out you needs
damixaAuthor Commented:
scrollbarArrowColor is not a member of: in javascript...
(in VS2005)

any ideas? How I can make this?

Flash? Problem is I don’t know how.

There has to be a way…
scrollbarFaceColor is what you need I suspect as it work with a text area...
damixaAuthor Commented:
how to close a question?
just give someone the points or splits the points... unfortunitly there is no real solution for your question using strict current xhtml, maybe next version will support it?
ps why not try email the w3c?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.