• Article Written 
  • on 25.01.2010
  •  at 08:22 AM
  •  by admin

How to Change the Color of Selected Text – CSS Tutorial

In this article we will find How to Change the Color of Selected Text.This is very simple and basic tips for the web designers and developers. Whenever a person select a text , its color changes to defined color. For example, on my blog theme ,if you select some text you will notice sky blue color in place of default color. Simply add these few lines in your css documents.


[code lang="css"]
background:#C1EEFB ;color:#000
background:#C1EEFB; color:#000

This property is not supported by IE. View Demo

let us know your thoughts? If you found any other tutorials that you want to share with us,feel free to let us know by dropping in a comment.

Promote Us

  • Add to Mixx!
Ace Hosting India

Tags: ,