浏览器正在自动调整网格布局

时间:2013-12-10 00:27:59

标签: html css

我似乎无法弄清楚为什么(只有chrome)自动调整我的商店中的网格布局

enter image description here

它只能在整个商店的2页上完成 -

  http://www.towingpartsoutlet.com/chain-assemblies-grade-80-chain-assemblies-3-8-chain-assemblies-g80.html
  http://www.towingpartsoutlet.com/chain-assemblies-grade-70-chain-assemblies-5-16-grade-70-v-chains.html

css中没有特定于浏览器的规则...

我非常困惑。任何人都可以帮忙。

1 个答案:

答案 0 :(得分:0)

在您的css文件line 34css-element.css。用这个替换一切。应该比以前更好(甚至在其他浏览器上,table重叠一点)。 :d

tr, td {
    margin: 0 2px 2px 0;
    display: inline-table;
    table-layout: fixed;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    word-wrap: break-word;
}

然后添加此CSS(在tr / td代码之前):

table {
    border-spacing: 0;
}
相关问题