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?
+1
A:
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.
Tyler Rash
2009-05-05 19:54:48
He's right, you know.
Kevin Brown
2009-06-03 02:28:24
Ok.. Not a problem
Wazdesign
2009-06-14 22:36:43
A:
Not supported on IE as far as I know. Unless there's some clever hack I don't know about.
Adi
2009-06-01 07:37:20
A:
I think it would be difficult to emulate
- You could try and set a background colour for the text selected, but the default blue highlighting will probably ruin your effect
- The browser would probably choke on some systems when someone is selecting a lot of text and changing their selection rapidly.
I think you should use CSS for the browsers that support it, and wait patiently for IE to adopt this.
alex
2009-06-01 23:53:55