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


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

"virtual" wrote:
Well unless I am misunderstanding you again, how about this
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: … -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 :

this is my styling code :


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