**In Internet Explorer versions 8 to 10preview, when an inline-block div gets a property of "direction: rtl;", it's background will overflow 1px beyond the border on the right.**
Here's a Jsfiddle demo: [http://jsfiddle.net/8KgvB/6/]
(Creating this demo was a headache by itself because IE doesn't like Jsfiddle [or vice versa] but that's a different story altogether)
IE7, obviously lacking inline-block functionality, doesn't have this issue, even with the zoom:1 hack.
**Is this a bug? or did I simply miss something?** Maybe someone has a workaround.
以上就是Background overflows border by 1px on inline-block with direction: rtl in IE8-10pre1的详细内容，更多请关注web前端其它相关文章！