About an iframe in a div

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tsmg
Forum Newbie
Posts: 7
Joined: Mon Oct 26, 2009 1:57 am

About an iframe in a div

Post by tsmg »

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>
tsmg
Forum Newbie
Posts: 7
Joined: Mon Oct 26, 2009 1:57 am

Re: About an iframe in a div

Post by tsmg »

I have knwn the cause,and solve it!
I need two div to reveal in different sizes!
Post Reply