Welcome to WebmasterWorld Guest from 107.20.5.156

Forum Moderators: not2easy

Message Too Old, No Replies

CSS on Iframe scrollbars

how to affect scrollbar colors on iframes

     

toxictox

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

3:47 pm on Apr 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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:

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;
}

toxictox

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

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 ;-)

Pontiff

papabaer

11:28 pm on May 25, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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. [searchengineworld.com...]

Pleased to have you join us!
- papabaer

 

Featured Threads

Hot Threads This Week

Hot Threads This Month