Passi0n

Blog-爱出者爱返,福往者福来

« 关于FDT的调试再次觉得gg强大 »

使用css定位ifream中显示区域

今天在编辑网页时遇到一个问题,需要在ifream里定位显示加载页面的位置。在gg里搜索了相关内容,在blueidea里的一篇关于css定位属性position详解的文章中找到了答案。下面是解决的代码:

<div style="width:700px; height:700px; position:relative; overflow:hidden">
<iframe src="" width="100%" height="100%" frameBorder=0 scrolling=no style="position:absolute; top:-110px;">
</iframe>
</div>

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722 Code detection by Codefense

湘ICP备08101301号