Forum Moderators: open
Basically whatever page you're loading into the iframe will control the background color.
P.S. - iframes suck in soooooo many ways ;)
cheers!
iframeelement won't have any effect unless the
bodyelement of the framed page has its
backgroundproperty set to
transparent.
In some situations JavaScript can be used to alter the background color or to set it to transparent. It would help if you described what page you are framing and why.
you have access to all the scrollbar features etc... that an iframe has except you can not refresh/reload layers independently of the rest of the site, therefore you can not target a page to load to the div... you can however, use javascript to turn visibility on or off very easily...
goodluck
Just setting the background-color doesn't seem to work, but creating a small gif of the appropriate color and setting the background-image: (whatevercolourwant.gif) will do the trick.