溢出HTML框架元素之外的内容 [英] Overflow content outside of HTML Frame Element

查看:197
本文介绍了溢出HTML框架元素之外的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能使内容在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆