Click to See Complete Forum and Search --> : scroll bars width


raulishnikov
02-20-2003, 09:12 AM
I've seen very narrow scroll bars, and they look very neat, i had change the color but wnat them narrower for the left frame, what can i do?
I tried css in the same manner as for change color but didnt work.
Can you please help me?:)

Stefan
02-23-2003, 04:24 AM
Scrollbars is considerd part of the application Uuser Interface, and thus CSS is NOT supposed to be able to affect how they look.

You are probably refering to MS CSS Extensions (as their marketing department likes to call them).
For info about propritary MS IE code, the developer site at www.micorsoft.com usually have really good documentation.

raulishnikov
02-23-2003, 06:45 AM
That's good idea, i'll check it right now, thnks stephan

ignition
02-26-2003, 02:33 AM
use:
<style>
body {
scrollbar-width: [value]px;
}
</style>

you'll have to put in all the other scrollbar attrubutes too to make them work, there are about 10 attributes

boojum
07-28-2003, 05:56 PM
i cant get scrollbar-width to work, i use these properties

scrollbar-width:5px;
scrollbar-base-color:#ffffff;
scrollbar-face-color:#ffffff;
scrollbar-3dlight-color:#ffffff;
scrollbar-track-color:#000000;
scrollbar-darkshadow-color:#ffffff;
scrollbar-shadow-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-arrow-color:#ffffff;

what others are there? link(s) would be great

pyro
07-28-2003, 06:03 PM
scrollbar-width is not a valid property, and thus won't work.

nkaisare
07-28-2003, 09:56 PM
scrollbar-*anything* is not a standard property.

Already the freaking web developers design websites in a way I don't appreciate (font/sizes, screen width requirements, opening new browser windows etc). I hope W3 does not add this unnecessary evil to the CSS list.

pyro
07-28-2003, 10:00 PM
True, what I ment by the above was scrollbar-width isn't even a valid proprietary property. At least not in any browser that I know of...

boojum
07-28-2003, 10:00 PM
any unrecognized css is ignored, so its being ie -only is uneventful. if you dont want to have your scroll bar changed, make a custom css file for your browser. or petition microsoft, if it isnt in there i cant use it

nkaisare
07-28-2003, 10:06 PM
There is a perfectly valid way to have proprietary CSS: adding a prefix ie- to the CSS. Why M$ chose to ignore this, I dont know.

petition microsoft, if it isnt in there i cant use it
If its in there doesn't meen that you need to use it.

BTW, it seems that you can't change scrollbar width.

boojum
07-28-2003, 10:21 PM
i dont need to do any of this but i like my new found ability to color coordinated the scrollbar (which on sites i make are often found within the page, not just on the right edge of the browser) with the rest of the site scheme. i dont see why thats bad

PeOfEo
07-28-2003, 11:55 PM
lol nkaisare this will really piss you off. http://dynamicdrive.com/dynamicindex11/barcolor.htm and it is perfectly valid, for ie users that is... not for anything else. Ie and its crazy voodoo css :D

PeOfEo
07-29-2003, 12:01 AM
Also in is you can change scroll bar width, I had a site with that info but I lost the link, ill figure it out and edit this. Ill make sure its accurate though and that it works before I post it but I could have sworn I have seen it before. It will only work in ie of cource..... (some time has passed) ..... I cant find a thing sorry, I guess the link I had must have been missinformation, it was an image not actually demonstrated so that is very possible.

nkaisare
07-29-2003, 01:09 PM
Originally posted by PeOfEo
lol nkaisare this will really piss you off.
As long as its tastefully done, its no problem. I am not exactly "pissed off". Just that the amount of time I spent 2 years back in learning unnecessary junk is unbelievable. That time could have been gainfully spent on better understanding HTML and CSS and accessibility issues.

Thats the reason I am a self-proclaimed anti-javaite. First project - "Hello World". Second project - "Browser fade in/fade out".

I mean is fade in/rollovers/countdown clock/hiding menu more important than displaying content correctly for majority of browsers?

PeOfEo
07-29-2003, 04:09 PM
No, infact I hate page fades because they waste my time, that part of a second is time I could spend viewing the page I dont need the blur for that peioud of time.

pyro
07-29-2003, 04:29 PM
Originally posted by nkaisare
That time could have been gainfully spent on better understanding HTML and CSS and accessibility issues.You know, I think that is something that just takes time (and an openness) to realize. When I joined these forums, I didn't even consider the fact the some users may have JavaScript disabled, and wouldn't be able to view my site, much less the fact that they might have browsed to it on a PDA or with a screen reader. Sure, I tested in a fair amout of browsers, but did I use JavaScript to embed essential elements on my page? Sure. Did I use CSS to it's full (or even part) ability? Not at all. After hearing the views of people wiser than I, I have slowly been transforming the way I think about web programming. It's people like Charles, Robert Wellock, and you, Nicket, that have helped me realize that there are most definitly better and worse ways to design a web site. I'm not an extremist when it comes to this, but I do realize that the best way is not necessarily the easiest way. (Is it ever?) I've slowly been working on abandoning some of my older habits to make way for a new way. I've not been able to totally rid myself of some, as I've found there are certain things that just can't be done (yet -- at least by me) in CSS... One day... :)