A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: ie7 iframe clear bg?

  1. #1
    Senior Member drunknbass's Avatar
    Join Date
    Feb 2004
    Posts
    132

    ie7 iframe clear bg?

    is there a way to get an iframe to have trans background in ie7? normally unless you add a bg to one it is trans and shows through to watever is behind it, but in ie its white, i even tried to use css on the body tag to make the bg trans and it had no effect, .

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    I don't have copy of IE 7 to hand to test, but if you add the attribute

    allowtransparency="true"

    to your iframe element and then in the page that is displayed in the iframe use the CSS

    body { background: transparent; }

    it works in IE 6.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center