Transparent Scrollbars!

Soldato
Joined
28 Sep 2004
Posts
3,128
Location
Devon, UK
Hiya, can anyone help me with transparent scrollbars please? I have googled and found the code but it doesn't seem to be working :(

this is what i have got in the page i want the iframe with transparent scrollbars



Code:
<h5><p align="center">
  <iframe src="aboutus.html" name="main" width="530" height="250" scrolling="yes" frameborder="0" class="style9" style="FILTER: chroma(color=#FFFFFF)" allowtransparency="true"> </iframe></p></h5>


and this is the code i have in the CSS styles sheet, first time i have used a CSS styles sheet, i dont really know what im doing, but im learning as im going!!


Code:
#content h5
	{
	   scrollbar-face-color : #000000; 
       scrollbar-highlight-color : #000000; 
       scrollbar-3dlight-color : #000000; 
       scrollbar-shadow-color : #000000; 
       scrollbar-darkshadow-color : #000000;
       scrollbar-track-color : #000000; 
       scrollbar-arrow-color : #000000;
	}
Can anyone please tell me how to get transparent scrollbars but with just black arrows at the ends please!

Thanks,
Mark
 
Last edited:
Have sorted it now, I put this code

Code:
<style>
<!--

BODY {
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#FFFFFF;
}
-->
</style>

into the page i want in the iframe :)

and with this in the main page

Code:
<iframe src="Working.html" id="content" height="300" width="200" scrolling="yes" frameborder="0" allowtransparency="yes" align="middle"></iframe>

it seems to be working fine :D
 
thanks but im really confused now :confused: where do i put the

Code:
#iframe
{
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#FFFFFF;
}

do i just put it into common.css somewhere?

Thanks
 
Back
Top Bottom