PDA

View Full Version : Allow transparency in Iframe



caroline
11-15-2004, 11:07 AM
Hi,

First of all, sorry for my bad english...I'm french canadian so I will propably make lots of errors... :p

I need help with this script...someone gave it to me and said he took it here but I think it's missing something!

<iframe name="iframe" src="page.html" width="100%" height="300" allowtransparency="true" style="filter:chromacolor=#F5FAFD" scrolling="auto" align="center" frameborder="0"><iframe>

The part I'm having trouble with is in red...it simply does not work...do I need to put something between HEAD and /HEAD??

Thank's for your help!

clueless
11-19-2004, 03:27 AM
For the 'allowtransparency="true" to work, you need to put the following in the HEAD:

<STYLE TYPE="text/css"> body{background-color:transparent}</STYLE>

Dont know about the other.

caroline
11-19-2004, 12:12 PM
Thank's for your help!