Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Dec 2006
    Posts
    185
    Thanks
    17
    Thanked 0 Times in 0 Posts

    Make an iframe transparent?

    Hi


    I need to make the background of an iframe and all the contents of it transparent so the background of the frame will assume the color behind it. Does anyone know how to do this i tried style="background-color:transparent" i put that in the table in the iframe and in the iframe itself on the iframe but it only works in Firefox.

    Is there a way to do this in Internet explorer?


    Thanks
    Last edited by thekevin07; 07-17-2007 at 09:08 AM.

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Give this a try

    Put

    allowtransparency="true"

    in the opening Iframe tag.

    In the document to be loaded into the Iframe put

    STYLE="background-color:transparent"

    in the opening BODY tag.
    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.

  • #3
    Regular Coder
    Join Date
    Dec 2006
    Posts
    185
    Thanks
    17
    Thanked 0 Times in 0 Posts
    thanks man that works great rep added


  •  

    Posting Permissions

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