css 背景闪烁
One of the nagging issues that Internet Explorer creates is a flicker on anchor tag background images. Did you know, however, that there is a quick and easy way to prevent that problem using a little bit of JavaScript? Simply place the following JavaScript code in the header section of your website, refresh the page, and bid adieu to another IE6 issue.
Internet Explorer造成的困扰问题之一是锚标记背景图像的闪烁。 但是,您知道吗,有一种使用少量JavaScript来防止该问题的快捷方法? 只需将以下JavaScript代码放在您网站的标题部分,刷新页面,然后就另一个IE6问题出价。
<script type="text/javascript">try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</script>
翻译自:
css 背景闪烁