溢出HTML框架元素之外的内容 [英] Overflow content outside of HTML Frame Element
问题描述
是否有可能使内容在HTML 框架元素之外溢出?
例如,我可以拥有位于1 frame
内的视频是否超出了框架的范围?
I已经尝试使框架
具有溢出
值可见
>。给视频( iframe
)元素添加一个 x
值 -100px
但视频永远不会比 0px
更进一步。
任何想法让视频溢出使用HTML,CSS或Javascript进入左边框架。
从一开始我会说它不可能。但是,我快速浏览了这篇文章 - http://forums.creativecow。 net / thread / 16/856267 ,它提示使用 top.document
javascript选择器的可能解决方案。
这个stackoverflow问题也提供了一个可能的解决方案 - 绝对div覆盖iframe边界?
Is it possible to make content overflow outside of a HTML frame
element?
For example can I have a video that sits inside 1 frame
extend beyond the extents of the frame?
I've tried making the frame
have an overflow
value of visible
. And giving the video (iframe
) element a x
value of -100px
but the video never moves further left than 0px
.
Any ideas how I could make the video overflow into the left frame using HTML, CSS or Javascript.
From the outset I would say its not possible. But, a quick 'Google' and I came accross this article - http://forums.creativecow.net/thread/16/856267 which hints at a possible solution using the top.document
javascript selector.
This stackoverflow question also provides a possible solution - Absolute div overlay iframe borders?
这篇关于溢出HTML框架元素之外的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!