How is this done? as an example, on this website when you highlight a word u see green
This can be achieved with this bit of code:
::selection { background: #fff; color: #000; } /* Safari 3.1+, Opera 9.5+, Chrome 2+ */
::-moz-selection { background: #fff; color: #000; } /* Mozilla Firefox */
Keep in mind the support for this is slim (see css comments), but its a cool feature for those browsers that do support it.
thanks