开发者

Text Justified in IE8 gets cut off on the right edge

Recently i noticed to this bug in IE8 (displays correctly in IE7), that the text gets cut off in IE8, just a bit and mainly all开发者_StackOverflow the "o":

The text is justified don't know if that plays an important role in this.

My questions would be, can this be fixed? is this a IE8 problem?

Thank you.


Try padding-right: 1px;


This appears to be a bug in IE8. I was having a similar problem: one of the last letters in a paragraph (l) was turning barely visible. When I selected the text, you could see it fine.

I was able to fix by turning on IE7 compatibility mode.

<meta http-equiv="X-UA-Compatible" content="IE=7"/>

This was happening with

  • IE8
  • Justified text
  • Zoom level increased by 1 (Ctrl +)


I was experiencing the same issue, and was able to reduce the cut-off in IE 8 by using the -ms-text-justify CSS property, like so :

text-justify: justify;
-ms-text-justify: newspaper;

This produced a noticeable improvement. However, some characters are still being cut off.

You can read more about -ms-text-justify here: http://msdn.microsoft.com/en-us/library/ie/ms531172%28v=vs.85%29.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜