TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Can an IFRAME have a transparent background color?

Page: 1 Reply
Jun 14th 2002#53061 Report
Member since: Jan 24th 2002
Posts: 22
I have an IFRAME over an image and I want the white background in the IFRAME to be transparent to that you can see the graphic
Reply with Quote Reply
Jun 14th 2002#53064 Report
Member since: Mar 24th 2002
Posts: 3114
don´t think that´s possible... Use a DIV instead.. Visit AUXILIUMSTUDIOS.CJB.NET for full list of smileys.
Reply with Quote Reply
Jun 14th 2002#53088 Report
Member since: Jan 24th 2002
Posts: 22
how do I make a page load up in a DIV
Reply with Quote Reply
Jun 14th 2002#53117 Report
Member since: Mar 20th 2001
Posts: 3367
You can't make an Iframe transparent, but you can set a background for the page you're loading in the iframe and set the background to be in a fixed position.
Reply with Quote Reply
Jun 15th 2002#53129 Report
Member since: Jun 13th 2002
Posts: 14
you can insert this code into the iframe tag on the page where the iframe resides and the color of the page within the iframe will not show it's color ... ie5.5+

*iframe id="datamain" src="news.htm" ALLOWTRANSPARENCY="true" width="100%" height=200 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes>

then if you can put a background image into the table holding the iframe as a background.


edit: as i look back over your post my solution makes the background completely transparent. If you are looking for a translucent white that might take a little more thinking.
Reply with Quote Reply
Jun 28th 2002#55703 Report
Member since: May 21st 2002
Posts: 537
i've tried that code. i can't get it to work.


you just put: allowtransparency="true" in the [iframe]tags?
Reply with Quote Reply
Jul 7th 2002#57102 Report
Member since: Jul 3rd 2002
Posts: 39
<_ iframe id="blah" src="http://www.noserver.xx/blah.htm" ALLOWTRANSPARENCY="true" width="100" height="100" margin width="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="yes" _>
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum