【发布时间】:2011-06-02 18:43:14
【问题描述】:
你们非常善良和聪明。考虑以下 HTML:
<html>
<body>
<div id="Panel1" style="position: absolute; bottom: 0; right: 0; top: 0;
width: 259; background-color: #00FF00">
<input type="button" style="position: absolute;
left: 161; top: 30; width: 75; height: 25" tabindex="3"/>
</div>
</body>
</html>
我在这里所做的是将 div 停靠在屏幕的右侧,使其从顶部延伸到底部。这在 Google Chrome 中完美运行,但在 IE8 中却不行。
我已将页面上传至http://losthobbit.net/temp/testdoc.html,以使您的生活更轻松。
知道如何在 IE 中使用它吗?
谢谢!
【问题讨论】:
-
由于某种原因,直到有人指出我才注意到这条评论。
标签: html internet-explorer internet-explorer-8