This very simple piece of CSS will change the colour of selected text, the default is usually blue. You can see this in action on this website, try clicking and dragging the cursor over come text and you will notice that it is orange! As you may have guessed, this working on most browsers but definitely not IE!!

Change selected text color CSS:

[php]
::-moz-selection{background:#F69E06;color:#fff;}
::selection {background:#F69E06;color:#fff;}
[/php]

Related Terms:
Posted on 14th December 2012 by in CSS, Web Design Hampshire, Web Design Portsmouth, Web Design Southampton, Web Design Tips
Web Agency Portsmouth
where to go from here? get in touch OR

give us a call on 02392 123 538

Let's be friends! More...
Facebook Twitter Google+
Like & Follow Facebook Twitter Google+
Share the love, share this page! Facebook Twitter Google Digg Reddit LinkedIn Pinterest Email
Close [X]
Web Design South Coast
Areas We Cover

Here are some of the local areas we provide with web design and digital marketing services. These are just some examples, we work with clients all over the UK and across the globe.

Our Services
Close [X]
The Web Taylor
Harcourt Close Waterlooville, Hampshire PO8 8JL
02392 123358