When you select this text, you will see a blue selection field. But that’s not the point of my question. After you select this text, if you are using a PC, the color of the actual text becomes white. On a mac, it stays the color it was before. That’s the color I want to change.
Is there a cross-browser solution?
You can use the
::selectionpseudo-selector:Due to parsing rules, you need to duplicate your CSS and re-prefix it:
Demo: http://jsfiddle.net/Blender/Hs7bQ/