【发布时间】:2013-06-30 11:11:41
【问题描述】:
我正在尝试将 iframe 嵌入到我的测试博客 - damianp1.blogspot.co.uk 的名为“测试”的页面中
我已经从页面中删除了很多不需要的项目以腾出尽可能多的空间,但是找不到 id 来删除出现在 iframe 后面的蓝色框,也无法获取 iframe以适合底部带有灰色边框的白色框。
这是我目前使用的代码:
<style type="text/css">
.blog-pager, .footer, .post-footer, .feed-links, #Attribution1, .comments, .post-title, .sidebar
{ display:none !important;}
.main-inner .columns {position: relative; left: -205px; top 50px; width: 1305;padding-left:0 !
important;padding-right:0 !important;}
</style>
</b:if>
<style>]
</style>
<div class="post-outer" style="width:1100px;">
<div id="outerdiv" style="width: 1200px; overflow: hidden">
<iframe width="1300" style="position: relative; left: -190px; top: -34px" height="600"
src="http://wildlife-ramblings.blogspot.co.uk/" scrolling="yes" frameborder="0"></iframe>
</div>
</div>
有人可以告诉我如何将所有内容正确组合在一起,以便 iframe 整齐地填充页面吗?
非常感谢,达米安。
【问题讨论】:
-
the blue box which appears behind the iframethe white box with the grey border at the bottom.... ...什么?我看不出你在描述什么。 jsfiddle.net/h4Pa9/show -
您好,嵌入 iframe 后面有两个框 - 一个带有圆角的蓝色框和一个带有圆角和一个灰色页脚的白色框 - 如果您滚动到底部,则更容易查看。我要么想删除它们,要么改变 iframe 适合它们的大小。我还希望 iframe 能够正确地适应页面。