How set the scroll bar to be color

Discussion in 'Javascript' started by simon lee, Nov 28, 2003.

  1. simon lee

    simon lee Guest

    Dear all,

    Please help me to set the scroll bar to be a specific color, thanks

    simon lee, Nov 28, 2003
    1. Advertisements

  2. simon lee

    lallous Guest

    That is done via CSS and not Javascript AFAIK.
    lallous, Nov 28, 2003
    1. Advertisements

  3. simon lee

    Frank Hoek Guest

    but still: try
    they've got scrollbareditor somewhere amongst the free downloads

    Frank Hoek, Nov 29, 2003
  4. simon lee

    Dante Guest

    You could do that with Javascript.
    Try this and experiment:
    <A HREF="#" onMouseOver="'green'">Change
    Dante, Dec 2, 2003
  5. simon lee

    tom Guest

    Hi Simon,

    The scrollbar like every other control can be styled.
    Use scrollbar-face-color, scrollbar-arrow-color, scrollbar-highlight-color,
    .... there are many scrollbar properties.
    But this works only in internet explorer I heard.

    Tom F.
    tom, Dec 10, 2003
  6. Not with CSS.
    It is a proprietary Microsoft extension to CSS, not standard. Opera 7
    has support for it too, but I believe it is turned off by default.

    Lasse Reichstein Nielsen, Dec 11, 2003
  7. And playing around with the scrollbar annoys quite a lot of people, so
    probably best left alone.
    Stephen Poley, Dec 11, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.