问题
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