Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Iframe coloured scroll bar

Status
Not open for further replies.

foxymorons

Technical User
Aug 3, 2004
27
AU
I am using a template system in Dreamweaver. On my main page I have a news update iframe.

To set the colour of the scroll bar I just assume that you place the code inside the iframes contents. Is this right, as it is not working. The same applies to the site, the scroll bars wont change colour. I have tried over 10 codes on the internet and none work.

Any suggestions?

Thanks in advance.
 
iframe scroll bars don't have the colour change properties seemingly.

you can use a sized div and the body scrollbar colour will then apply. You can use SSI to pull in the content.
However the whole coloured scrollbar "thing" only works in IE5.5+

CSS Code
Code:
body {
scrollbar-face-color:#FF3399;
scrollbar-arrow-color:brown;
scrollbar-track-color:#333333;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-color:'';
}

scroll_box {
    width:300px;
    height:300px;
    overflow:auto;
    border:2px silver inset;
    padding:5px 5px 5px 5px;
}



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top