W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Styling the browser itself

From: Mark Ayers <markthema3@gmail.com>
Date: Thu, 5 May 2011 17:23:52 -0700
Message-ID: <BANLkTimQQN=e+4cYYE8907CpGVL4iHx0JQ@mail.gmail.com>
To: "www-style@w3.org" <www-style@w3.org>
Is this allowed for in any part of the specifications? For an example of
what I'm talking about, open this page in Chrome:
http://www.ineedwebpage.com/ and look at the scrollbar. I am trying to
figure out if this is possible in any other browsers (haven't checked
safari, but it should work, as it has a -webkit prefix), as well as if there
might be an easier (read: non-prefixed) way of doing this (now or in the

The particular code for this is this:

::-webkit-scrollbar {

width: 11px;
height: 11px;


::-webkit-scrollbar-track {

background: -webkit-gradient(linear, left top, left bottom, from(#4A4A4A),
box-shadow:inset 0 0 10px #000000;


::-webkit-scrollbar-thumb {

background: -webkit-gradient(linear, left top, left bottom, from(#333333),
box-shadow:inset 0 0 10px #000000;


::-webkit-scrollbar-resizer {

background-color: #333333;

Received on Friday, 6 May 2011 00:24:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC