想了解免费建站的朋友,查看《免费建站教程》

使用iframe调用指定网页的特定位置(显示目标网页某区域的我想要的内容)

2024-07-31 1394 建站
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta http-equiv=X-UA-Compatible content="IE=edge">
<meta name=viewport content="width=device-width,initial-scale=1">
<title></title>
</head>
<body style="margin: 0;background: #f9f9f9;">
<style>
iframe {
position: absolute;
top: -425px;
left: 0px;
width: 100%;
height: 537px;
border: none;
}
</style>
<div style="margin:0 auto;">

<div style="width:100%;height:100px;overflow:hidden;border:0px">
<div style="width:100%;height:100px;">
<iFrame src="https://sh.gtja.com/" width="1200" height="100" scrolling="no">
</iFrame>
</div>
</div>
</div>
</body>
</html>


版权保护: 转载请保留链接: https://cgy.isi8.cn/jianzhan/293.html