IE is losing ClearType

后端 未结 7 932
滥情空心
滥情空心 2020-12-05 19:27

I\'m experiencing something really strange!

I have a div that I\'m hiding with JS (jQuery). Like this:

$(\'#myDiv\').hide();

Then w

相关标签:
7条回答
  • 2020-12-05 20:31

    Ok here's my worst solution ever :

    <head>
        <script>
            $(function() {
                    $(document.body).fadeIn(0);
            });
        </script>
    </head>
    
    <body>
    
        <script>
            $(document.body).hide();
        </script>
    
        body text
    </body>
    

    Immediately hide the body, and fade it in when document is complete. Then you essentially disable cleartype.

    Oh and PLEASE dont anybody actaully do this. Or if it REALLY seems to make sense for you then test it well. Just remember you wont see anything until the whole DOM is loaded. I also saw some wierd graphical glitches.

    0 讨论(0)
提交回复
热议问题