Text selection

The question was asked: 6 years 11 months ago   views: 21
0
::selection {
 color: #ea4525;
 text-transform: uppercase;
 letter-spacing: 2px;
 text-shadow: none;
 font-size: 16px;
 line-height: 22px; 
}

Text selection does not work completely, it only changes the text color. Tried !important, nothing works. Tell me, how to make a working selection?

Asked: angry angry 21-06-2012 в 13:29:41
And exactly can be something besides color and background-color change? - ivkremer ivkremer 21-06-2012 в 13:44:33
I need to change all the value that is written. And What can or cannot I don't know, so ask! - Hancock888 Hancock888 21-06-2012 в 14:30:58

Answers   1

0

Use JS: imyobject.focus(); or imyobject.select();

Answered: Rules Rules 21-06-2012 в 14:03:27