[thelist] iframe scrollbar colours

Sam-I-Am sam at sam-i-am.com
Fri Nov 2 09:00:01 CST 2001

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.


More information about the thelist mailing list