About an iframe in a div
Posted: Mon Oct 26, 2009 11:25 pm
After I have finish an iframe's reveal in a div.I should make it in the middle of the div,but I don't know the method?Add a table,I failed!
In fact ,I could not make the iframe's reveal seprates from that div,they reveal in the same size.How to change their size relatively?
like this
<div id="div_cover" style="top:0;height:0;position:absolute; z-index:10; display:none;filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90)'; ">
<!--<table ><tr align="center"><td valign="middle">-->
<iframe id="ifrid" src="" style="border:1px solid gray;position:absolute; visibility:inherit; top:0px; left:0px; width:100%; height:100%;
z-index:-1; ">
</iframe>
<!--</td></tr>
</table>-->
</div>
In fact ,I could not make the iframe's reveal seprates from that div,they reveal in the same size.How to change their size relatively?
like this
<div id="div_cover" style="top:0;height:0;position:absolute; z-index:10; display:none;filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90)'; ">
<!--<table ><tr align="center"><td valign="middle">-->
<iframe id="ifrid" src="" style="border:1px solid gray;position:absolute; visibility:inherit; top:0px; left:0px; width:100%; height:100%;
z-index:-1; ">
</iframe>
<!--</td></tr>
</table>-->
</div>