Forum Moderators: not2easy

Message Too Old, No Replies

CSS and iframe scrollbars

How do I change the colour, 3d colour, highlight colour etc. of an iframe

         

rquill

10:23 pm on Jan 28, 2004 (gmt 0)



I have added the following code to my page:

<table width="450" border="0" cellspacing="0" cellpadding="0" class="mainiframe">
<tr>
<td><iframe name="highlights" src="assets/ssi/index/highlights.htm" target="_self" frameborder="0" scrolling="auto" height="400" width="450"></iframe></td>
</tr>
</table>

I have added the following to the body of my CSS.

scrollbar-face-color: #e9e9e9;
scrollbar-highlight-color: #e9e9e9;
scrollbar-shadow-color: white;
scrollbar-3dlight-color: white;
scrollbar-arrow-color: white;
scrollbar-track-color: #e9e9e9;
scrollbar-darkshadow-color: white;

How do I change the colours of the scroll bar properties for the iframe scrollbar? This doesn't seem to work....

Please help....

DrDoc

12:12 am on Jan 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

You change the scrollbar look the way you normally change it -- in the document the scrollbar belongs to.

In this case it is the child document (the one opened in the iframe), not the parent (the one the iframe lives in).