简体   繁体   English

Internet Explorer 9无法正确显示文本

[英]Internet Explorer 9 Not Displaying Text Properly

I am working on a website and doing some testing in IE9. 我在一个网站上工作,并在IE9中进行了一些测试。

I have a slideshow section. 我有一个幻灯片部分。 Some look like this (correctly displayed): http://i.stack.imgur.com/DbcP5.jpg And others look like this: http://i.stack.imgur.com/wXEMU.jpg 有些看起来像这样(正确显示): http : //i.stack.imgur.com/DbcP5.jpg还有一些看起来像这样: http : //i.stack.imgur.com/wXEMU.jpg

The button is cut off and the last name from the quote doesn't display. 该按钮将被切断,并且引号中的姓氏不会显示。 I have narrowed down my issue to be due to the amount of words used in my h2. 我将问题的范围缩小了,原因是我的h2中使用的单词数量过多。 In other browsers such as Chrome it somehow makes all the words fit and keeps the same font-size. 在其他浏览器(例如Chrome)中,它以某种方式使所有单词适合并保持相同的字体大小。 How do I make this work in IE9? 如何在IE9中进行这项工作?

This may be due to varying default user agent stylesheets. 这可能是由于不同的默认用户代理样式表所致。 Using a CSS reset, like normalize.css , may help you achieve consistency, all else being equal. 在其他所有条件相同的情况下,使用CSS重置(如normalize.css )可以帮助您实现一致性。

You may want to use the old 1.1.3 branch of normalize because you require IE7 support. 您可能需要使用旧的1.1.3规范分支 ,因为您需要IE7支持。

Note that IE7 usage is basically nil , I recommend dropping support for it. 请注意,IE7的用法基本上为nil ,我建议放弃对此的支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM