-3

链接- 我不明白。我不包含任何其他字体,我已经重置了 css,我已经禁用了粗体标题,每个浏览器都将其显示为漂亮的细字母,但 Opera 只是将其显示为粗体。

在此处输入图像描述

4

2 回答 2

1

It may be that opera bolds h1 elements by default. (Although you said you tried un-bolding it)

Try this first:

h1 {
    font-weight: normal;
}

if that doesn't work, then maybe opera has a different definition of normal. In which case you should do something like this:

h1 {
    font-weight: lighter;
}

or if you wan't even a little more control you could do something like:

h1 {
    font-weight: 100;
}
于 2012-11-09T22:27:02.213 回答
0

既不是font-weight: light也不font-style: light是有效的 CSS。首先验证您的 HTML 和 CSS。

于 2012-11-09T22:29:18.853 回答