iframe元素上的滚动属性已过时。改用CSS [英] The scrolling attribute on the iframe element is obsolete. Use CSS instead
本文介绍了iframe元素上的滚动属性已过时。改用CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在iframe中嵌入Google地图到我的网站:
I've embedded a Google map onto my website in an iframe:
<iframe src="http://www.map-generator.net/extmap.php?name=Spot&address=los%20angeles%2C%20ca&width=614&height=244&maptype=map&zoom=14&hl=en&t=1298011905" width="614" height="244" scrolling="no"></iframe>
这是无效的,我需要以某种方式取消CSS中的滚动方面。
This is invalid, and I need to somehow pull off the scrolling aspect in CSS. How would I do this?
推荐答案
<iframe style="overflow:hidden;"></iframe>
这篇关于iframe元素上的滚动属性已过时。改用CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文