12Mar/108
IE8 CSS background flickering
Combination of white content on a black background causes an uncomfortable flickering or flashing in Internet Explorer 8. I resolved this problem adding following lines of code into head of XHTML page:
-
<meta http-equiv="Page-Enter" content="blendTrans(Duration=.01)" />
-
<meta http-equiv="Page-Exit" content="blendTrans(Duration=.01)" />
-
-
<script language="javascript" type="text/javascript">
-
try
-
{
-
document.execCommand("BackgroundImageCache", false, true);
-
}
-
catch(err) {}
-
</script>

March 26th, 2010 - 10:38
i don’t know how, but IT WORKS!
thank you so much ^^
March 28th, 2010 - 21:03
Thanks! it works
April 6th, 2010 - 22:22
Thanks, works for me too.
April 22nd, 2010 - 21:38
awesome fix, it gets rid of the window flashing white, but im getting a nasty little FOUC on some tab images on the page….
April 22nd, 2010 - 21:43
changed
to
still seems to work and got rid of the FOUC. man i hate IE.
May 24th, 2010 - 05:56
Thankyou sooooooooooo much!! Tried a heap of things but finally this works.
June 23rd, 2010 - 18:38
I love you mate. It WORKS!!!!!!!!!!
July 21st, 2010 - 00:40
It doesn’t seem to work on win7 with IE8, it works on all browser on Vista though…
Any idea’s?