[thelist] iframe scrollbar colours

Paul Backhouse paul.backhouse at 2cs.com
Fri Nov 2 09:17:07 CST 2001

nice one, i had tried that and it didn't work, never mind, it has now.
im using scrollable layers for NS and iframe for IE, theres alot of content
that will be displayed inside it so i want the user to see how far the
content scrolls down.
I find dhtml scrollbars clunky and unreliable which is why i though id use
iframe in IE.

Cheers for your help


-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Sam-I-Am
Sent: 02 November 2001 15:03
To: thelist at lists.evolt.org
Subject: Re: [thelist] iframe scrollbar colours

Paul Backhouse wrote:
> Does anyone know if theres away of changing the colours on iframe
> scrollbars?

sure there is.. but the scrollbars belong to the document that the
iframe contains.
So you'd need to add your css in there

iframe src="page.html"

and in page.html you would have css like:
	scrollbar-highlight-color: #ffffff;
	scrollbar-arrow-color: #5E5D53;
	scrollbar-3dlight-color: #F3D534;
	scrollbar-base-color: #F7D910;
	scrollbar-darkshadow-color: #6F5E03;
	scrollbar-face-color: #F6F4B1;
	scrollbar-shadow-color: #F6F4B1;
	scrollbar-track-color: #FFFBE4;

AFAIK there's no way to change the iframe scrollbars from the document
that contains the iframe (which is probably what you're having a problem
with??).. That being the case do you really need an iframe? You may be
able to use a scrollable div, depending on what the requirements are.


For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list