【发布时间】:2011-08-23 22:43:17
【问题描述】:
所以我有这个page,如果您查看 4 个按钮“试驾”“租赁拥有选项”分机...它们没有与 IE 中的 div 底部对齐。在 Firefox 中它看起来不错..这里是 html
<div class="main-img-box">
<img alt="Retail POS Systems" src="/images/software/video_pos_software.png">
<div class="main-cont-software">
<a href="/downloads/video_vision_download.php" class="video-testdrive rest_icons"><span></span></a>
<a href="/lease" class="video-lease rest_icons"><span></span></a>
<a href="javascript:addBookmark('POSNation.com%20-%20Video%20Rental%20POS%20Systems',window.location);" class="video-bookmark rest_icons"><span></span></a>
<a href="/shop_pos/index.php?route=information/contact" class="video-ask rest_icons"><span></span></a> </div>
</div>
这里是一些相关的 CSS
.main-img-box {
height: 398px;
position: relative;
width: 100%;
}
.main-cont-software {
bottom: 0;
color: #FFFFFF;
height: 76px;
left: 14px;
position: absolute;
width: 100%;
}
.video-testdrive {
background: url("../images/software/pos-sw-btn-video-testdrive.png") repeat scroll 0 0 transparent;
display: inline-block;
height: 57px;
margin-right: 9px;
width: 169px;
}
.video-lease {
background: url("../images/software/pos-sw-btn-video-lease.png") repeat scroll 0 0 transparent;
display: inline-block;
height: 57px;
margin-right: 9px;
width: 169px;
}
关于我缺少什么的任何想法
还有一个测试 IE 的好工具..我在 firefox 上使用 firebug,效果很好,但我总是在 IE 上遇到困难..那里也有任何建议
【问题讨论】:
-
你说的是哪个IE?
-
IE8 - 由@thirtydot 解答
-
可以使用IE开发者工具。在 IE 8 及更高版本中,这些工具已经是 IE 的一部分(按 F12 键)。我认为 IE 7 和 IE 6 你必须下载并安装它们。
标签: html css internet-explorer