www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: scroll bars width

  1. #1
    Join Date
    Feb 2003
    Posts
    9

    scroll bars width

    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?
    "No existe gran genio sin un toque de demencia"

  2. #2
    Join Date
    Nov 2002
    Posts
    984
    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.
    // Stefan Huszics

  3. #3
    Join Date
    Feb 2003
    Posts
    9

    I'm checking

    That's good idea, i'll check it right now, thnks stephan
    "No existe gran genio sin un toque de demencia"

  4. #4
    Join Date
    Feb 2003
    Posts
    1

    Lightbulb css scrollbars

    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

  5. #5
    Join Date
    Feb 2003
    Posts
    81
    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

  6. #6
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    scrollbar-width is not a valid property, and thus won't work.

    Personal website http://www.ryanbrill.com/
    Business website: http://www.infinitywebdesign.com/
    TypeSpace http://www.typespace.org/

    I reject your reality and substitute it with my own!

  7. #7
    Join Date
    Jan 2003
    Location
    Atlanta, GA
    Posts
    571
    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.

  8. #8
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    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...

    Personal website http://www.ryanbrill.com/
    Business website: http://www.infinitywebdesign.com/
    TypeSpace http://www.typespace.org/

    I reject your reality and substitute it with my own!

  9. #9
    Join Date
    Feb 2003
    Posts
    81
    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

  10. #10
    Join Date
    Jan 2003
    Location
    Atlanta, GA
    Posts
    571
    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.

  11. #11
    Join Date
    Feb 2003
    Posts
    81
    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

  12. #12
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    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
    Last edited by PeOfEo; 07-29-2003 at 12:13 AM.

  13. #13
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    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.
    Last edited by PeOfEo; 07-29-2003 at 12:13 AM.

  14. #14
    Join Date
    Jan 2003
    Location
    Atlanta, GA
    Posts
    571
    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?

  15. #15
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles