W3C home > Mailing lists > Public > www-style@w3.org > April 2001

Re: styling scrollbars (again)

From: Mjumbe Ukweli <mjumbewu@hotmail.com>
Date: Fri, 27 Apr 2001 10:43:58 -0400
To: dylans@yahoo.com, www-style@w3.org
Message-ID: <F124pgTFur2iz2Mb1s700000f21@hotmail.com>
>I feel that you don't need a special way to style a
>scrollbar, but you need a way to reference it, i.e.:
>
>scrollbarBase
>{color:#000000;background-color:#ffffff;}
>scrollbarArrow {}
>etc. (hopefully with a better nomenclature)
>
>rather than "polluting" css with a number of
>additional properties.
>

good point.  perhaps even a pseudo-element:

  #element1 {
    width: 100px;
    height: 100px;
    overflow: scroll;
  }
  #element1:scrollbar-base {
    border: 1px dashed #0080ff;
    background-image: url(scrbar.gif);
  }

or something of the sort.

                                                  &#8226; mjumbe &#8226;

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Friday, 27 April 2001 10:44:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:09 GMT