开发者

Missing table cell borders in IE 7

开发者 https://www.devze.com 2023-03-20 06:40 出处:网络
This is a problem in Internet Explorer 7 only (and maybe earlier versions of IE). Here is the problematic page:

This is a problem in Internet Explorer 7 only (and maybe earlier versions of IE). Here is the problematic page: http://wwwtest.vishay.com/mosfets/mosfet-hirel-dev/index.html

开发者_高级运维

The horizontal line between the two products listed in the first column is not shown (in IE7). It is shown in Firefox and Google Chrome.

I already played with the following:

  1. border-collapse:collapse;
  2. adding   to the TD

The line does appear when I remove the following (unrelated?!) CSS:

table.list-table th {
    border:1px solid #eee;
    border-right:1px solid #ddd;
    padding:1px;
}

Thanks for any tips!


Try something like this:

table{ 
  border-collapse:collapse;
}

table.list-table th {
    border:1px solid #eee;
    border-right:1px solid #ddd;
    padding:1px;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消