<legend id='PbYKQ'><style id='PbYKQ'><dir id='PbYKQ'><q id='PbYKQ'></q></dir></style></legend>
      1. <small id='PbYKQ'></small><noframes id='PbYKQ'>

        <i id='PbYKQ'><tr id='PbYKQ'><dt id='PbYKQ'><q id='PbYKQ'><span id='PbYKQ'><b id='PbYKQ'><form id='PbYKQ'><ins id='PbYKQ'></ins><ul id='PbYKQ'></ul><sub id='PbYKQ'></sub></form><legend id='PbYKQ'></legend><bdo id='PbYKQ'><pre id='PbYKQ'><center id='PbYKQ'></center></pre></bdo></b><th id='PbYKQ'></th></span></q></dt></tr></i><div id='PbYKQ'><tfoot id='PbYKQ'></tfoot><dl id='PbYKQ'><fieldset id='PbYKQ'></fieldset></dl></div>
        • <bdo id='PbYKQ'></bdo><ul id='PbYKQ'></ul>
        <tfoot id='PbYKQ'></tfoot>
      2. IE8:Div hover 只在设置背景色时有效,很奇怪,为什么?

        时间:2023-11-01
      3. <legend id='beeY0'><style id='beeY0'><dir id='beeY0'><q id='beeY0'></q></dir></style></legend>

            <tbody id='beeY0'></tbody>

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

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

                • 本文介绍了IE8:Div hover 只在设置背景色时有效,很奇怪,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  情况:有一个带有按钮图像的 div.div 需要在悬停时淡入.适用于除 Internet Explorer 之外的所有浏览器.当我给 div 一个背景颜色时,它突然起作用了.

                  Situation: Got a div with buttons images. Div needs to fadeIn on hover. Works in all browsers, except Internet Explorer. When I give the div a background color it suddenly works.

                  检查:http://ListAndPlay.com,左上角是控件.

                  Check: http://ListAndPlay.com , top left are the controls.

                  悬停在IE中不起作用,尝试为#buttons添加背景颜色,它突然起作用了.

                  The hover won't work in IE, try to add a background color to #buttons and it suddenly works.

                  问题:这是什么原因?如何正确解决这个问题?

                  Question: What is the reason for this? How to fix this properly?

                  推荐答案

                  我最近也遇到了这个问题.我还通过向悬停元素添加 1 x 1 px 透明背景图像来解决它.之后我想洗个澡.

                  I recently ran in to this problem also. I also solved it by adding a 1 by 1 px transparent background image to the hover element. I felt like taking a shower afterwards.

                  这篇关于IE8:Div hover 只在设置背景色时有效,很奇怪,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:使图像出现在链接悬停css上 下一篇:如何在父元素和子元素上设置 CSS 悬停效果

                  相关文章

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

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

                • <tfoot id='QJDsF'></tfoot><legend id='QJDsF'><style id='QJDsF'><dir id='QJDsF'><q id='QJDsF'></q></dir></style></legend>

                        <bdo id='QJDsF'></bdo><ul id='QJDsF'></ul>