Change color background on selection

by GJSenthil 2007-08-21 10:35:50

Hi,

It will be look nice if the background color changes on selection. This can be done using CSS. When you select some text the background color changes to red and text to white. Use the below CSS part in mozila browsers and it cant take effect in IE.

*::-moz-selection
{
background-color:#FF3C00;
}

CSS does the magic and many more are there to make web page more precise.

Tagged in:

2563
like
0
dislike
0
mail
flag

You must LOGIN to add comments