PDA

View Full Version : css & scrollbar width


bazz
04-12-2003, 12:17 AM
Hi.

I have got just about everything done css wise and am relatively happy. Just one final ting I want to do is reduce the size (width) of the scrollbar on a 'table' defined in the midle of the page. it is set to scroll and works fine. I jst need to know if there is an extra I can add to the css to make the scollbar thinner.

I checked the w3c.schools site but can't seem to find anything about it.
Thanks.

brothercake
04-12-2003, 12:46 AM
Not possible; you can't affect the appearance of the scrollbar, except you can color it in IE (which arguably shouldn't be allowed, but that's another story).

I guess you could make and animate your own scrollbar - using images or CSS.

Mhtml
04-12-2003, 03:54 AM
Originally posted by brothercake
(which arguably shouldn't be allowed, but that's another story).

Buh, IMO it should be in the standard.

liorean
04-12-2003, 06:08 PM
In risk of creating a yay/nay thread, I do have a very clear point of view when it comes to this, and it's shared with the W3C:

The user interface shouldn't be affected by anything the document specify. The user should be able to rely on a certain feature ALWAYS looking and working the same - and if anyone wants to change it, the user should always be asked about whether the change should be done or not.

Scrollbars should be considered a part of the user interface and not the document for several reasons: They provide a mechanism for viewing the document, and thus are above the document
They are generally either application or os/gui/tui specific
Users often set them to their own preference regarding what side of the screen they are attached to, how large they are, what colour they are etc.
They are functionally different in different environments - but you can view the same document in all of those environments.
They are media and dependent

On the other hand, if you want to use stylesheets for application design instead of document, it should be allowed there - but not for documents, which is the intended target for css.