Internet Explorer 9 - Magento 目录布局问题

问题描述 投票:0回答:3

我目前正在尝试解决 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; }

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

html css internet-explorer magento internet-explorer-9
3个回答
3
投票

您的列表项中的

a
标签已损坏。

当我查看源代码时,我发现了这个:

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


1
投票

您有一个 Pie.js 显示一些错误,请尝试修复它。可能是冲突问题。尝试使用 noConflict


1
投票

你的a标签还没有结束

检查:)

© www.soinside.com 2019 - 2024. All rights reserved.