Changing colour on text selection in IE<9

僤鯓⒐⒋嵵緔 提交于 2019-12-29 09:14:45

问题


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?

Thanks in advance.


回答1:


Quirksmode confirms this isn't supported in IE. I know of no alternative to this (CSS or JS) for IE.



来源:https://stackoverflow.com/questions/10249116/changing-colour-on-text-selection-in-ie9

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!