faqts : Computers : Programming : Languages : JavaScript : Frames

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

51 of 69 people (74%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

Is it possible to change the scrollbar color of IFRAME like textarea in IE 5.5?

Aug 25th, 2001 09:53
Tony Crosby, Thenu sarathy,


Using style sheets you can,
 Put this CSS code inside of the iframe on every document needed and 
adjust the colors to your liking.
<style>
body {
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #FFFFFF; 
scrollbar-highlight-color: #FFFFFF; 
scrollbar-3dlight-color: #FFFFFF; 
scrollbar-darkshadow-color: #FFFFFF; 
scrollbar-track-color: #FFFFFF; 
scrollbar-arrow-color: #FFFFFF;
}
</style>
 For the sake of updating your website you should put the code into a 
file named 'MyFile.css' and put the link on each page.
<LINK REL="stylesheet" HREF="MyFile.css">
 Which will save you time on updates.
 Tony