ie9 vs chrome即导致问题更改标题

时间:2014-05-02 10:19:47

标签: html css internet-explorer testing cross-browser

但在查看它时遇到问题。

我怎样才能使我的代码适合ie

什么是最好的方式

这是一个例子

http://jsfiddle.net/Jntuw/

可能是

h1 {
color: #A9218E;
font-family: 'LeagueGothic';
 font-size: 2.9em;

}

标题在ie9

中发生变化

有时边框显示线条。

2 个答案:

答案 0 :(得分:1)

您可以尝试这样的事情:

将它放在标题中!

    <!--[if IE 9]> IE 9 style content goes here <![endif]-->

Target IE9 Only via CSS

答案 1 :(得分:0)

  • 取出内联样式并添加到样式表。
  • 在CSS中为表格设置样式。

    表{border:0;}

    th {}

    td {}

http://www.w3schools.com/css/css_table.asp - 这应该有帮助