如何更改所选的文本颜色在Internet Explorer? [英] How to change the selected text color In Internet explorer?

查看:113
本文介绍了如何更改所选的文本颜色在Internet Explorer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在许多博客中看到,当我们选择文本时,文本的背景颜色改变,而不是通常的蓝色。 此技术
在Firefox和Safari中可用,有任何可用的方法Internet Explorer?

I have seen in many weblogs when we select text the background color of the text changes rather than usual blue. This Tech Works in Firefox and Safari, is there any method available for Internet Explorer?

推荐答案

它不能在IE使用纯CSS,我不知道任何预打包JS将完成这项工作。

It can't be done in IE with pure CSS and I don't know of any pre-packaged JS that will get the job done, either.

这篇关于如何更改所选的文本颜色在Internet Explorer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆