Border collapse issue in IE 8 compatibility mode

I need to display a table with first row underlined. For that, I am setting border-collapse and setting border only for the first row. Its working fine in IE 7 and FF. But in IE 8(compatibility mode), the bottom border is broken. See this [fiddle][1]
Text1 Text2 Text3
[1]: http://jsfiddle.net/gaZqR/ Note: I tried giving !DOCTYPE as below in my HTML. But, at that time, the page itself was not rendered in IE 8(compatibility mode). Still it worked as expected in IE7 and FF Also, Everything works fine in IE 8 standard mode
Doctypes are never optional for new web pages. Transitional doctypes are for old, deprecated markup. Always use strict.

以上就是Border collapse issue in IE 8 compatibility mode的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏