<tfoot id='crTku'></tfoot>
      • <bdo id='crTku'></bdo><ul id='crTku'></ul>
    1. <i id='crTku'><tr id='crTku'><dt id='crTku'><q id='crTku'><span id='crTku'><b id='crTku'><form id='crTku'><ins id='crTku'></ins><ul id='crTku'></ul><sub id='crTku'></sub></form><legend id='crTku'></legend><bdo id='crTku'><pre id='crTku'><center id='crTku'></center></pre></bdo></b><th id='crTku'></th></span></q></dt></tr></i><div id='crTku'><tfoot id='crTku'></tfoot><dl id='crTku'><fieldset id='crTku'></fieldset></dl></div>

      <legend id='crTku'><style id='crTku'><dir id='crTku'><q id='crTku'></q></dir></style></legend>

      <small id='crTku'></small><noframes id='crTku'>

        IE8 字体大小在 :hover 上切换 - 仅限日语语言

        时间:2023-11-29
        <tfoot id='5yEIk'></tfoot>

        <small id='5yEIk'></small><noframes id='5yEIk'>

        <i id='5yEIk'><tr id='5yEIk'><dt id='5yEIk'><q id='5yEIk'><span id='5yEIk'><b id='5yEIk'><form id='5yEIk'><ins id='5yEIk'></ins><ul id='5yEIk'></ul><sub id='5yEIk'></sub></form><legend id='5yEIk'></legend><bdo id='5yEIk'><pre id='5yEIk'><center id='5yEIk'></center></pre></bdo></b><th id='5yEIk'></th></span></q></dt></tr></i><div id='5yEIk'><tfoot id='5yEIk'></tfoot><dl id='5yEIk'><fieldset id='5yEIk'></fieldset></dl></div>
          <tbody id='5yEIk'></tbody>

                <bdo id='5yEIk'></bdo><ul id='5yEIk'></ul>
              • <legend id='5yEIk'><style id='5yEIk'><dir id='5yEIk'><q id='5yEIk'></q></dir></style></legend>

                  本文介绍了IE8 字体大小在 :hover 上切换 - 仅限日语语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  I have a page that is multi lingual and I have an issue with the Japanese version only.

                  For some reason in IE8, when I hover over an element, a sibling's font-size will increase/decrease.

                  Even stranger, is that this doesn't happen on every hover, sometimes I cannot reproduce straight away, I need to keep hovering over different elements in the same area of the page. Eventually this bug will rear its ugly head.

                  This bug only occurs on the Japanese page, all other languages seem to be fine.

                  This could be happening on other versions of Internet explorer, I haven't tested on all.

                  To clarify, I have not got any font-size changes on any :hover rules.

                  解决方案

                  I work for a Japanese site and recently came across this issue. After spending more time than was reasonable, I found the answer from these detailed write-ups in Japanese:

                  • http://freesoft.tvbok.com/sonota/ie8-fontsize.html
                  • http://social.technet.microsoft.com/Forums/ja-JP/internetexplorerja/thread/70d700f4-0bda-48b1-9476-d31993b7cbf4/

                  The top link includes the ways to deal with it. For those who can't read Japanese I will summarize:


                  The problem only affects IE8 showing pages using the MS P Gothic font (generally the default Japanese font on Windows) at a font-size that is between 9px and 11px. Unlike many IE bugs, it has nothing to do with floats/margins/line-height/etc. As Oldie has pointed out, the bug is not consistent, sometimes it happens right away and sometimes it takes a few hovers, and it seems to enlarge/shrink the text randomly.

                  The three primary solutions are as follows:

                  1. Set the font to MS Gothic or some other Japanese font using font-family style.
                  2. Change the font size to be anything outside the 9px ~ 11px range (Under the default IE8 font settings, 1em sized text will not be affected, but slightly smaller text (eg, 0.8em) will be affected).
                  3. Force IE8 to display the page as if it was IE7 by adding the following in the header:
                    <meta http-equiv="X-UA-Compatible" content="IE=7" />


                  I went with #2 because MS Gothic looked jarring next to all the other MS P Gothic text, and felt #3 had clear disadvantages for our site.

                  It's not an ideal solution, but it works. Best of luck.

                  这篇关于IE8 字体大小在 :hover 上切换 - 仅限日语语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使用任何 doctype 在 Internet Explorer 中悬停表中的行都很慢 下一篇:html表格如何通过更改悬停边框来突出显示列?

                  相关文章

                  1. <legend id='vM5zj'><style id='vM5zj'><dir id='vM5zj'><q id='vM5zj'></q></dir></style></legend>

                    <small id='vM5zj'></small><noframes id='vM5zj'>

                  2. <tfoot id='vM5zj'></tfoot>

                      <bdo id='vM5zj'></bdo><ul id='vM5zj'></ul>
                  3. <i id='vM5zj'><tr id='vM5zj'><dt id='vM5zj'><q id='vM5zj'><span id='vM5zj'><b id='vM5zj'><form id='vM5zj'><ins id='vM5zj'></ins><ul id='vM5zj'></ul><sub id='vM5zj'></sub></form><legend id='vM5zj'></legend><bdo id='vM5zj'><pre id='vM5zj'><center id='vM5zj'></center></pre></bdo></b><th id='vM5zj'></th></span></q></dt></tr></i><div id='vM5zj'><tfoot id='vM5zj'></tfoot><dl id='vM5zj'><fieldset id='vM5zj'></fieldset></dl></div>