Whereas I can skin the scrollbars in IE, it is - as we all know -
impossible to so for Mozilla. For the effect I'm trying to achieve (set
width and height block of text with scrollbars) what's the CSS-way of
doing it with customisable scrollbars?

There is no CSS way to customise scrollbars - apart from the non
standard MSIE selectors you mentioned which colour a scrollbar but
don't replace it.

     I really don't want to stray away from the default (system)
scrollbars and go into something JavaScript based.

Good plan. Why design it that way then? At least an IFRAME would be
navigable via keyboard. DIVS with constraints and overflow auto are
only workable with a mouse. You can also jump to anchors in a real
frame, in a simulated one you cannot do that.
[...]
If you want a total control scroll widget use flash or use an IFRAME.

Certainly digressing from the initial thread, but I landed on this thread 
(http://archivist.incutio.com/viewlist/css-discuss/63563) via Google and 
thought this link merited posting.
(I also decided it was beyond time for me to join the list. So I do hope I 
don't get removed for my first post. I do intend to discuss CSS, I promise!)

Here is an example of a custom scrollbar script by Emrah Baskaya at 
http://www.hesido.com/web.php?page=customscrollbar.
It's cross-browser (IE, FF, Moz & Op, to my knowledge & hopefully Saf) and 
degrades gracefully without breaking any of the scrollable elements.
It's obviously not CSS-based, but as Chris notes, it's not possible in CSS, so 
this is the closest commonly supported method we're likely to see anytime soon.
I thought there might be some inquiring mind out there wondering about "stray[ing] 
away from system scrollbars", so there you go.
I understand there are caveats, and it isn't pure CSS, but I'm hoping not to 
start a fight. ;)

Regards,
Derek de Jong


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to