Welcome to WebmasterWorld Guest from 54.159.239.251

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)

Inactive Member
Account Expired

 
 


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...

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 31, 2001
posts:1238
votes: 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:

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)

Inactive Member
Account Expired

 
 


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)

Inactive Member
Account Expired

 
 


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

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 31, 2001
posts:1238
votes: 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. [searchengineworld.com...]

Pleased to have you join us!
- papabaer

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members