Action, protest, campaigns, demos and issues magazine features, photos, articles, stories photos of London, New York, Wales, England and photography features music, parties, clubs, events, records, releases drug information, harm reduction, no-nonsense guide punch a celebrity football, features, issues, cardiff city games, useless games and diversions technical info, web authoring, reviews and features site news, updates and urban75 blog urban75 community news and events urban75 bulletin boards join the chatroom search urban75 back to urban75 homepage
London features, photos, history, articles New York features, photos, history, articles Brixton features, photos, history, articles panoramas, 360 degree vistas, London, New York, Wales, England Offline London club night festival reports, photos, features and articles urban75 sitemap and page listing about us, info, FAQs, copyright join our mailing list for updates and news contact urban75
web question and answers



« Q & A page

« tech pages


Q: Changing the scroll bar colour
by Mike Slocombe

Q: How can I change the colour of a scroll bar in a Web site using HTML?
Emile van Lill

A: This effect is achieved through style sheets and only works in IE5.5+ browsers. Here's a simple example, which should be placed between the <HEAD> and </HEAD> tags on your page.

<STYLE TYPE='text/css'>
BODY
{
scrollbar-3dlight-color:blue;
scrollbar-arrow-color:white;
scrollbar-base-color:white;
scrollbar-darkshadow-color:white;
scrollbar-face-color:orange;
scrollbar-highlight-color:black;
scrollbar-shadow-color:blue
}
</STYLE>


Scroll bar colour scheme explained It can be quite tricky finding the right of combination of colours, so use the image opposite as a reference or have a fiddle about in Microsoft's nifty Scrollbar Colour Code Generator.

This lets you interactively shuffle different colours around and when you like what you can see, you can cut and paste the ready-made code onto your page.

If you really want to go to town, you can also customise the size, speed, and look of the scroll buttons: DHTMLShock

More info:
Colouring your scrollbars with CSS
CSS resources

May 2004





urban75 - community - action - mag - photos - tech - music - drugs - punch - football - offline club - brixton - london - new york - useless - boards - help/FAQs - © - design - contact - sitemap - search