PDA

View Full Version : Clear BG for IFRAME


Makkura
08-08-2003, 03:17 AM
Is there anyway that I can make the background of an IFRAME clear?

Lets say I've got a big picture that fills up the entire browser window, with an IFRAME on top of that with some text in it and stuff, but I want the picture to show through.

There are other ways around this, I know... but I'd really like to keep the text in an IFRAME, with whats behind it showing through.

Any ideas?

MotherNatrsSon
08-08-2003, 03:37 AM
Go to this site http://arctic.ithium.net and look at the code. It has tranparent iframes in it.

MNS

ArcticFox
03-27-2007, 07:50 AM
Faux Transparency. ;)

And I moved the page to http://arctic.ithium.net/HOLD

koyama
03-27-2007, 01:06 PM
If validation is not an issue, also take a look at the IE proprietary allowtransparency (http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/allowtransparency.asp) attribute.

I believe iframes are transparent by default in Firefox (contrary to IE).

On the other hand, I guess, by now you have found a solution.