homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Iframe and css.

Msg#: 4130521 posted 12:32 am on May 11, 2010 (gmt 0)

there has been lots of confusion about iframe and background color etc.

here is the myth iframe color cannot be changed if you have css run from a default file like default.css

here is the solution:
paste the following in your default css file. i pasted mine at the end of everything and it worked fine.

iframe {background-color:white;}

note this is just to change the color to white. I have not tested but believe that any modifications to iframe properties can be modified here and will change any and all iframes that do not have prepending rules like websites that look normal inside an iframe.

[edited by: incrediBILL at 1:19 am (utc) on May 11, 2010]
[edit reason] removed personal URLs, see TOS #13 [/edit]


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved