Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to change bg color of ‘input’ text selection Re: How to change bg color of ‘input’ text selection

#71715
psychotronic
Member

thank you all for the helps, i really appreciate it ;)

"virtual" wrote:
Well unless I am misunderstanding you again, how about this
http://www.cssplay.co.uk/menu/form.html
No.1 CSS Play has a background image in the input boxes and No. 5 changes on hover.

sorry, it doesn’t work virtual. It just changing the input background, not the selection colors

"TheDoc" wrote:
Just to make sure everyone is on the same page, the OP is referring to this:

https://css-tricks.com/overriding-the-de … -with-css/

Yes, it’s working good with p, div etc, but not with the selection color of input fields.

Please see the image below :
[img]http://img132.imageshack.us/img132/125/ikoko.png[/img]

this is my styling code :

Code:

It wrks properly with the <p> and other html element, but not with the input field / text area