开发者

cellspacing differences between different versions of IE

开发者 https://www.devze.com 2022-12-17 19:46 出处:网络
I\'ve noticed, that unless I use a cellspa开发者_StackOverflow社区cing attribute set to 0px on my tables, they render slightly differently in IE8 depending on compatability mode.When set to on, the ta

I've noticed, that unless I use a cellspa开发者_StackOverflow社区cing attribute set to 0px on my tables, they render slightly differently in IE8 depending on compatability mode. When set to on, the table cell spacing appears larger. I can mitigate this by setting cellspacing to 0, but I want to do it with css, and I can't find anything that causes the exact same behavior as cellspacing...


might be worth trying...

<TABLE style="border-collapse: collapse;">

or

table {border-collapse: collapse;}

in your css file.

(It's the same thing, just in two dif places.)

0

精彩评论

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