今天有个群里的朋友问怎么把某个页面里面的部分信息作为自己的网页信息显示,就是怎么只显示需要的信息,其他信息不显示,在网上找了很多信息都没有合理的解决办法,我通过修改iframe的定位解决了这个问题,代码公布如下:
<table width=100% align=center>
<tr>
<td align=center>
<iframe src=http://2010.sina.com.cn/match/ frameborder="0" marginheight="0" marginwidth="0" scrolling="no" style="width:1000px; height:2300px; margin:-250px 0 0 -30px" target="_blank">
</iframe>
</td>
</tr>
</table>
以上信息自是测试用的,请不要在未经他人允许的情况下随便随便调用其他网页信息 本程序为原创代码,转载请注明出处http://www.xiongmaotou.com