Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS on Iframe scrollbars


papabaer - 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:

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


Thread source:: http://www.webmasterworld.com/css/137.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com