12Mar/1011
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>
