Sappervet
02-05-2005, 03:34 PM
In regards to iframes...
I would like to know why ie and firefox display the transparency command differently. Here is a sample of the coding so you see what I mean.
Take note that the iframe is contained in a table column.
<table width="50%" height="100%" border="2" align="center" bordercolor="#FF0000" style="background: url(background image) no-repeat center;">
<tr height="15%">
<td> </td>
</tr>
<tr height="70%">
<td><iframe width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0" scrolling="auto" name="inlineframe" allowtransparency="true" src=""></iframe></td>
</tr>
<tr height="15%">
<td> </td>
</tr>
</table>
The question....
When I run the coding in "IE" ... I get a white box where the iframe appears. When I run firefox... I get a truely transparent iframe. How can I make the iframe truely transparent in "IE"?
I want to eventually use the iframe for targeting so I can add changing advertisements.
I would also like to know if I can give the iframe a background image...
I would like to know why ie and firefox display the transparency command differently. Here is a sample of the coding so you see what I mean.
Take note that the iframe is contained in a table column.
<table width="50%" height="100%" border="2" align="center" bordercolor="#FF0000" style="background: url(background image) no-repeat center;">
<tr height="15%">
<td> </td>
</tr>
<tr height="70%">
<td><iframe width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0" scrolling="auto" name="inlineframe" allowtransparency="true" src=""></iframe></td>
</tr>
<tr height="15%">
<td> </td>
</tr>
</table>
The question....
When I run the coding in "IE" ... I get a white box where the iframe appears. When I run firefox... I get a truely transparent iframe. How can I make the iframe truely transparent in "IE"?
I want to eventually use the iframe for targeting so I can add changing advertisements.
I would also like to know if I can give the iframe a background image...