html - Internet Explorer 9 - Magento 目录布局问题

标签 html css internet-explorer magento internet-explorer-9

我目前正在尝试找出 IE9 和 magento 的问题,下面的屏幕截图更好地解释了这个问题(这在 FireFox/Opera/Chrome 中很好)或这里 http://foscamuk.co.uk/indoor-ip-cameras.html : IE9 Catalog Magento Issue

这显然是一个 IE 兼容性问题,但我不知道从哪里开始寻找,CSS 代码在这里:

.products-grid-container{ background:#fafafa; padding: 5px 0; border:1px solid #ffffff; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; box-shadow:0 0 3px #ccc; }
.products-grid { position:relative; }
.products-grid li.item { float: left; padding: 15px 5px; width: 160px; text-align:center; position: relative; background:url(../images/bg-li-product.png) 100% 10px no-repeat; }
.products-grid li.last{ background:none; }
.products-grid .product-image { display: block; height: 120px; margin: 0 0 15px 10px; width: 135px; }
.products-grid .product-name { color: #555; margin: 5px 0 17px; padding:0 10px; font-weight:400;  }
.products-grid .product-name a { color: #555; font-size:110%; }
.products-grid .product-name a:hover{color:#D92D37;text-decoration:none; font-weight:400;}
.products-grid .price-box { margin:5px 0; }
.products-grid .availability { line-height:21px; }
.products-grid .actions { background:url(../images/bg-action.png) 50% 100% no-repeat; padding:0 0 30px; }
.products-grid.last .actions{ background:none;}
.products-grid .actions .add-to-links { display:none; }

虽然我已经引起了你的注意,但同样在这个页面上,如果你查看底部的工具栏,列表图像似乎低于它应该的位置 - 不完全确定为什么会发生这种情况,因为它运行的代码与顶部工具栏。

感谢帮助

最佳答案

你有一个破损的 a在列表项中标记。

当我查看源代码时,我发现了这个:<a href="http://foscamuk.co.uk/foscam-fi9821w.html" class="minimal-price-link">后面跟着一个结束的 div 标签。这应该可以解释您的 IE 问题。 :)

关于html - Internet Explorer 9 - Magento 目录布局问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16126439/

相关文章:

javascript - 使用下拉菜单解决 jquery 错误

internet-explorer - 获取特定版本的 IE

php - 我如何将今天的日期设置为html中的默认日期

html - 一列中的 div 对齐,但立即将另一列向下移动

css - ASCX 控制失去风格?

javascript - VBA - IE - 单击一个按钮创建另一个 'Input Enabled'

javascript - 按钮在 IE9 中无法正确呈现

javascript - 如何在一个页面中包含网站的多个部分

html - 通过向列表添加新的列表项来计算列表高度

html - 如何调整 HTML/CSS 中的文本?