Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
CSS on Iframe scrollbars how to affect scrollbar colors on iframes toxictox
Hey guys/girls :-)
I have this pain in the ... problem.
I can't get my stylesheet to function on my iframe!..
heres how my iframe tag looks like:
<IFRAME NAME="iframe1" SRC="news.asp" ALIGN="top" frameborder="no" scrolling="yes" HEIGHT="500" WIDTH="698" HSPACE="0" VSPACE="0"></IFRAME>
I've tried to include ' class="" ' within the code, but still dose'nt work... - hope you have any suggestions...
If you are attempting to use the MSIE-specific-styles to color the scrollbar of your page loaded into your iframe, the scrollbar-styles need to placed on the page that is loaded into the iframe.
Placing the "scrollbar-styles" on the parent page only affects the parent page scrollbar.
Remember, pages that may be displayed in an iframe are still individually distinct pages that can have their own style statements.
If you wish to apply styles (MSIE 5.5 only - or IE6 Quirk Mode) to the page that loads into your iframe then you would add something similar to the following to you "iframed-page" css statement:
scrollbar-face-color: #300; scrollbar-shadow-color: #600; scrollbar-highlight-color: #600; scrollbar-3dlight-color: #600; scrollbar-darkshadow-color: #600; scrollbar-track-color: #300; scrollbar-arrow-color: pink; } toxictox
Thanks... it worked.... dumbass me... really thougt i had tried this option, but noo... Thanks alot!.. pontiff
You have solved my problem. I want to thank you. It is forums like this and people like you guys that make the internet great ;-)
Hello Pontiff, Welcome to WebmasterWorld!
Glad you found the solution you were looking for! Be sure to look around... ALL around! WebmasterWorld is a pretty big place. Try using the site search tool (upper left menu) to browse through other topics of interest. And be sure to check out Search Engine Tools for some very useful items. [
Pleased to have you join us!