SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question can i change the scrollbar graphics?


    Div.scroll {
    overflow-y: scroll; <-----??????????????????????
    }
    is it possible to controll the graphics on a scroll by using css?
    -buskerota-

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    body {scrollbar-base-color: #b0c0d0; }
    ought to do it. If you use the same in your DIV scroll bit, then that colour can be different (so have a different main body scrollbar and a different one for your DIV).
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  3. #3
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ok..

    thanx.. maybe its another issue, but if i want another graphic, like a button instead of the _
    | |
    | |
    | |
    | |
    | |
    | |
    |_|
    is that possible with just css or is it more difficult? im -newbie-

  4. #4
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What do you want to change? The up/down arrows?
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  5. #5
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can change the style of the arrows, not sure about changing them for a graphics though:

    http://wsabstract.com/howto/scrollbarcolor.shtml

    Whats the _ btw?

  6. #6
    Non-Member spdrcr's Avatar
    Join Date
    Sep 2000
    Location
    Oklahoma City, OK
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, don't think there is ANY way you can change the scrollbar to a graphic.

    Don't put too much work into your scrollbar, concentrate on the way it integrates with the rest of your page.

  7. #7
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by spdrcr

    Don't put too much work into your scrollbar, concentrate on the way it integrates with the rest of your page.
    Well said that man.

  8. #8
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Those are widgets built into the browser itself. You can change the color of them (in IE) but you cannot change the shape or the object.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  9. #9
    Non-Member spdrcr's Avatar
    Join Date
    Sep 2000
    Location
    Oklahoma City, OK
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Widgets!?

  10. #10
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A widget is a generic term for an item that does something:
    http://www.dictionary.com/search?q=widget
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  11. #11
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by weirdbeardmt
    What do you want to change? The up/down arrows?
    -yeah that was the idea, i've seen it on some pages on the web.. like www.planetarion.com

  12. #12
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by buskerota

    -yeah that was the idea, i've seen it on some pages on the web.. like www.planetarion.com

    Woohoo, another PA player!

    Do you mean in the ingame screens as www.planetarion.com doesnt have any different scrollbars.

    Like this:



    Well here is the css used for the Terran game screen:

    Code:
    body {
    	scrollbar-3dlight-color: #000000;
    	scrollbar-arrow-color: #74100D;
    	scrollbar-base-color: #3A3331;
    	scrollbar-darkshadow-color: #000000;
    	scrollbar-face-color: #3A3331;
    	scrollbar-highlight-color: #74100D;
    	scrollbar-shadow-color: #74100D;
    	scrollbar-track-color: #000000;
    }


Bookmarks

Posting Permissions

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