Forum Moderators: not2easy
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...
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:
body {
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;
}
Pontiff
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. [searchengineworld.com...]
Pleased to have you join us!
- papabaer