1. Begin by defining the selected text as an element in CSS by typing "::selection"
2. Style the ::selection element's font color with the "color:" property, the same as any other element
3. Style the selection element's highlight with the "background-color:" property. The default color for most browsers is blue
4. For maximum browser compatibility, copy the entire element's style and instead of "::selection" type "-moz-::selection"