Monday, November 24, 2008

iFrame Background White in IE

I was a little surprised when a page that I developed using IFrames appeared fine in Firefox and Safari, but in Internet Explorer the background of the iFrame appeared white, overlapping another element on the page.

The way around this behavior is to set the allowtransparency attribute of the IFrame tag to true i.e. add the following to your IFRAME tag.


Thomas Robinson said...

Thank you. That did the trick.

JCL said...

many thanks - works for me.