在IE <9中更改文本选择上的颜色 [英] Changing colour on text selection in IE<9
本文介绍了在IE <9中更改文本选择上的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果在IE< 9中通过css / javascript选择文本时,如何更改文本的颜色?据我所知, :: selection
在IE< 9中不工作。
How to change the colour of text when its selected by css/javascript in IE<9? As far as I know the ::selection
doesn't work in IE<9. Can somebody help me out with this?
提前感谢。
推荐答案
p> Quirksmode 确认此操作在IE中不受支持。我知道没有替代这(CSS或JS)的IE。
Quirksmode confirms this isn't supported in IE. I know of no alternative to this (CSS or JS) for IE.
这篇关于在IE <9中更改文本选择上的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文