博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css 背景闪烁_防止IE6 CSS背景闪烁
阅读量:2514 次
发布时间:2019-05-11

本文共 621 字,大约阅读时间需要 2 分钟。

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 背景闪烁

转载地址:http://vvvwd.baihongyu.com/

你可能感兴趣的文章
Entity Framework 4.3.1 级联删除
查看>>
codevs 1163:访问艺术馆
查看>>
冲刺Noip2017模拟赛3 解题报告——五十岚芒果酱
查看>>
并查集
查看>>
sessionStorage
查看>>
代码示例_进程
查看>>
Java中关键词之this,super的使用
查看>>
学习进度
查看>>
“此人不存在”
查看>>
github.com加速节点
查看>>
解密zend-PHP凤凰源码程序
查看>>
python3 序列分片记录
查看>>
Atitit.git的存储结构and 追踪
查看>>
atitit 读书与获取知识资料的attilax的总结.docx
查看>>
B站 React教程笔记day2(3)React-Redux
查看>>
找了一个api管理工具
查看>>
Part 2 - Fundamentals(4-10)
查看>>
使用Postmark测试后端存储性能
查看>>
NSTextView 文字链接的定制化
查看>>
第五天站立会议内容
查看>>