網站內嵌網站並截取某個位置顯示
作者: cross 日期: 2010-06-11 10:17
作法: 使用 iframe 搭配 CSS
效果:<style type="text/css">
#outerdiv
{
width:530px;
height:250px;
overflow:hidden;
position:relative;
}
#inneriframe
{
position:absolute;
top:-0px;
left:-480px;
width:1280px;
height:1200px;
}
</style>
<div id='outerdiv'>
<iframe src="http://blog.yam.com/prayfinedoll" id='inneriframe' scrolling=no frameborder="0" height="250" width="530" ></iframe>
</div>
↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓ ↓↓
發表評論
上一篇
返回
下一篇

標籤:



