Ada*_*dam 0 css xhtml object internet-explorer-7
<object id="page" type="text/html"
data="index_test.html"
width="565" height="500">
<p>Oops! That didn't work...</p>
</object>
Run Code Online (Sandbox Code Playgroud)
这就是我在Firefox中的工作原理,但是IE7有滚动条.我怎么摆脱他们?
尽管我很难推荐它,但在<body>标签上渲染scroll ="no".这将消除IE7中的默认滚动条.IE8和其他标准浏览器可以标记溢出:自动在CSS上为body标签而不需要scroll ="no"
为了澄清,请在index_test.html中的body标记上添加scroll ="no"