Home
Saturday, August 19, 2017
3:35:04 PM
Users online: 0   You are here >> Home > Web Design

Forums | Web Design Forums search
Forum FAQ
   
  1  
CSS: Changing scrollbar colour problem
Jeff_Bollon 
9/7/08 4:22:51 PM
Serf

I added this CSS code to my websites sytle:

body {
scrollbar-base-color: #000000;
scrollbar-arrow-color: #CCCCCC;
scrollbar-3dlight-color: #CCCCCC;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: #000000;
scrollbar-track-color: #CCCCCC;
}

And i'm having a problem. It changes my textarea's scollbar colour but not the large scroll bar on the side of the site or any other.
Do you have any ideas why?
Thanks.

-----

superfireydave 
9/7/08 4:26:37 PM
Titan

Why?
Cause it's a gimmick and isn't supported on all browsers.
Protip?
You're making a website, not customising a users browser.

-----
Mreow?
http://www.atomicmpc.com.au/forums.asp?s=2&c=9&t=17306

GTAV6 
9/7/08 5:08:25 PM
Hero
Titan


most modern browsers only let the website alter the viewport scrollbar if the browser's user specifically allows it.
but in any case, like dave says, why? the only time i can see it being a design issue is if you're trying to visually integrate a scrollbar within the page design (ie, using overflow: auto; on a div, etc). the viewport scrollbar belongs to the individual end user, not the web designer - it's become a sort of 'courtesy' thing to leave the viewport scrollbar alone, in this day and age :o)

-----

+++ out of cheese error +++ melon melon melon +++ redo from start +++

- - - - - - - - - - - - - - - - - - - - -
http://www.thexman.net.nz/

superfireydave 
9/7/08 5:18:38 PM
Titan

Sorry if I come off a bit angry, I've been sick and reading a lot of stupid posts lately - probably not a good combination.

Regardless, please leave the browser scrollbar alone for the sake of humanity.

-----
Mreow?
http://www.atomicmpc.com.au/forums.asp?s=2&c=9&t=17306

Jeff_Bollon 
9/7/08 5:26:33 PM
Serf

I just wanted to ask because I have a iframe and the scrollbar doesn't go will with the rest of my design.

-----

superfireydave 
9/7/08 5:55:52 PM
Titan

You shouldn't be using an iframe really anyway, but if you can't figure out a way to get rid of it then it's something you'll have to accept unfortunately.
edit: Because some browsers will not let you change it at all, becuase it's not proper that CSS should be able to do that (Opera is an example).


Edited by superfireydave: 9/7/2008 05:57:38 PM

-----
Mreow?
http://www.atomicmpc.com.au/forums.asp?s=2&c=9&t=17306

moofactory 
16/7/08 7:40:45 PM
Titan

drop iframes.. set div to overflow.

I think hes looking for a script to do a inside scroll that works with the look of the website.

-----
http://www.spore.com/sporepedia#qry=usr-moofactory

  1  
Forums | Web Design