0

出于某种原因,我的 iframe 高度受到限制,无论是在 CSS 中还是在标签中设置。我不确定这是怎么回事,搜索什么也没有发现。我不确定此时该怎么做,可能需要放弃嵌入。此外,当我将容器强制设置为 960 像素(视频的高度)时,它将获得一个没有定义溢出选项的滚动条。诡异的。

http://jordan.rave5.com/tmpstuff/

                    <div class="left-large-box">
                        <div class="large-box">
                            <div class="large-box-content">
                                <div class="content-full">
                                    <div class="column-header">
                                        <div class="column-icon">
                                            Title here
                                        </div>
                                    </div>
                                    <p><iframe width="690" height="388" src="http://www.youtube.com/embed/jH7f6e9FsLc" frameborder="0" allowfullscreen></iframe></p>
                                </div>
                            </div>
                            <div class="box-end"></div>
                        </div>
                    </div>
4

1 回答 1

1

在您的样式表中blue.css,您适用height: auto;于所有元素,这会覆盖heightiframe 的属性。不过,您仍然可以在元素上使用样式来设置高度。

如果您删除height: auto,该height属性也有效。

于 2013-04-30T07:02:38.883 回答