使用iframe调用指定网页的特定位置(显示目标网页某区域的我想要的内容)
<!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
- 上一篇:表单设置 限制长度
- 下一篇:pbcms 判断会员是否登录
