Submit a CSS related link →

Posh CSS

For the modern day web designer.

Overriding The Default Text Selection Color

# Linked to 1 February 2008, 22:30 in by Sam Brown

One of those cool CSS3 declarations that you can use today is ::selection, which overrides your browser-level or system-level text highlight color with a color of your choosing. At the time of this writing, only Safari and Firefox are supporting this, and both in slightly different ways.

Read more at css-tricks.com →

Sam Brown

Sam Brown is a freelance interface designer and web standards developer based in Edinburgh, Scotland. Sam's work can be seen at Massive Blue, blogs at Sam Brown and is on Twitter at @sambrown.