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前端其它相关文章!