You can't. That's controlled by the background of the page that is being framed. The only way you can control it through an inline style tag is if the background of the framed page is set to transparent.
an iframe is just a mini window that displays a web page. it is not a web page itself and so cannot be customized like that.
just give the web page the background color you want and it should be pretty much the same thing. or what Eriksrocks said which is just as good. maybe better.
As I didn't want the page background coming through on the background of the iframe I just placed the iframe in a div with the coloured background that I wanted and it works fine.
THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.