9

电脑技术+建站:通过iframe插入网页,并只显示网页的指定区域的代码

 2 years ago
source link: https://www.taholab.com/23125
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

电脑技术+建站:通过iframe插入网页,并只显示网页的指定区域的代码

By: taho
On: 2021年7月10日
Tagged: 电脑技术
With: 0 Comments

有时候,我们想插入网页,但只想要特定区域网页插入进来,于是就可以用如下办法:

<html>
<head>
<title>插入网页特定区域</title>
</head>
<body>
<div style="width:1000px;height:650px;margin:-153px 0px 0px -10px;">
<iframe src= "http://www.weather.com.cn/satellite/" width="1200" height="650" frameborder="0" scrolling="no" style="position: absolute; top: -130px; left: 10px; right:10"></iframe>
</div>
</body>
</html>

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK