css - table中的td加了display:block在ie情况下会出现黑色边框线(ps:本身我没设置黑色边框线的 谷歌 ff不出现)
巴扎黑
巴扎黑 2017-04-17 13:50:37
0
3
604

ie效果

谷歌效果

巴扎黑
巴扎黑

reply all(3)
Ty80

Table related table, thead, tbody, tfooter, tr, th, td tags all have specific display attributes and are not blocks.
Roughly setting blocks will lead to nesting disorder

巴扎黑

See if the border attribute is added

大家讲道理

There is no need to use display:block, td, th, tr, etc. are all arranged in a fixed form. As for the black lines, you can use IE's style viewer to see if there is something wrong.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template