Welcome to WebmasterWorld Guest from 126.96.36.199 , 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 msg:1186912 3:37 pm on Apr 30, 2002 (gmt 0) 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...
papabaer msg:1186913 3:47 pm on Apr 30, 2002 (gmt 0)
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 msg:1186914 8:50 am on May 1, 2002 (gmt 0)
Thanks... it worked.... dumbass me... really thougt i had tried this option, but noo... Thanks alot!.. pontiff msg:1186915 9:56 pm on May 25, 2002 (gmt 0)
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 ;-)
papabaer msg:1186916 11:28 pm on May 25, 2002 (gmt 0)
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!