Link to home
Start Free TrialLog in
Avatar of Dada44
Dada44Flag for Spain

asked on

Internet Explorer 6 does not allow transparency in iframe

Dear all,

It's very simple, I have the following inside an output in a PHP script:

<div id=myiframe ><iframe name='myiframe' id='myiframe' src='' width='320'  height='240' allowtransparency='true'  frameborder='0' scrolling='no'></iframe></div>

(src='' because I have a target='myiframe' in a link)

Well, Internet Explorer 6 doesn't care about allowtransparency='true'   and shows a white rectangle in the middle of my colourful background image. Firefox and Safari allow the transparency without any problems.

What can I do to fix it?? Now I don't know if it is a question of HTML, CSS, PHP or what..

Thanks very much in advance!
Avatar of Roonaan
Flag of Netherlands image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
allowtransparency="yes" instead allowtransparency="true" works for me...
Avatar of Dada44


Thanks Roonaan! Worked great!
Avatar of kpaternoster

That didn't fix it. Doesn't seem to matter what you do with it.