作者geofrania (三叶虫)
看板Web_Design
标题[问题] iframe如何不出现垂直卷轴并从中间开始显示
时间Tue Mar 7 00:49:18 2017
我有一个网页
https://theta360.com/s/qSVZZQKPVlRJyCTgsqYhx91oS"
要放入iframe框架如下:
<iframe src="
https://theta360.com/s/qSVZZQKPVlRJyCTgsqYhx91oS" width="580"
height="585"style="border:none;overflow:visible" frameborder="0"
allowTransparency="true"></iframe>
现在我有两个需求:
1.不显示垂直卷轴
发现用scrolling="no"就完全没有卷轴了
overflow-x:visible;
overflow-y:hidden
不知道该怎麽修改
2.垂直处从中间开始显示
我开头的高大约100px的地方不要
height="585" 只能全部从顶部开始显示
不知道有没有从中间开始显示的语法呢?
谢谢各位
--
The most distant way in the world is not the way from birth to the end.
It is when I sit near you that you don't understand I love you.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.231.22.191
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1488818972.A.748.html
1F:→ minejel: 有hspace、vspace,也可以用外层div利用overflow 03/07 06:40