Page 1 of 1

IFRAME HELP

Posted: Mon Mar 29, 2004 4:54 pm
by John Cartwright
Does anyone know a way to make an Iframe background translucent so just images and text will be showing up but the rest is clear?

Posted: Mon Mar 29, 2004 6:05 pm
by Unipus
I don't believe that can done (there's probably a proprietary MSIE property for it, but I don't discuss those).

What can be done, though, is using a div with overflow: auto instead of an iframe, which is my preferred way to operate.

Posted: Tue Mar 30, 2004 9:14 am
by vigge89
Insert into <iframe> tag;

<iframe src="page.php" name="iframe" width="300" height="300" scrolling="auto" frameborder="0" allowtransparency="true"></iframe>

Insert into the page in the iframes body section;

<BODY style="background-color:transparent">

Posted: Tue Mar 30, 2004 11:43 am
by Unipus
like I said though, that's an IE-only property.

Posted: Tue Mar 30, 2004 8:22 pm
by m3mn0n
Maybe he is an IE type of guy. ;)


If not, someone else who searches for this type of thing might find that little tidbit uselful.

Posted: Tue Mar 30, 2004 9:55 pm
by John Cartwright
HEHeh thanks a lot guys I am infact NOT a IE type of guy, IE is the DEVIL!!!

Cheers