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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe

Status
Not open for further replies.

anneoctaaf

Programmer
Dec 15, 2003
104
0
0
NL
I'm using a iframe to display a webpage within my website.
Now i would like to change the color of my iframe scrollbar.
I also only want a vertical scrollbar, no horizontal scrollbar.

Thanx!
 
you'd need to make a CSS style/ class for your iframe, I'd imagine you could alter an ordinary scrollbar css style to work on the iframe.
something like this for changing the colour
Code:
iframe { 
scrollbar-face-color: #000000; 
scrollbar-shadow-color: #b3bcbb; 
scrollbar-highlight-color: #b3bcbb; 
scrollbar-3dlight-color: #0000ff; 
scrollbar-darkshadow-color: #000068; 
scrollbar-track-color: #d3dfdf; 
scrollbar-arrow-color: #b3bcbb }

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top