Click to See Complete Forum and Search --> : Text Selection Background Color


robindean
08-17-2007, 02:01 PM
I found this ...

::selection {background: #000000;}
::-moz-selection {background: #000000;}

but can't seem to get it working for my form's text input (type="text").

Solution?

Fang
08-17-2007, 02:31 PM
They don't appear to be Mozilla Extensions (http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions), where did you find them?

robindean
08-17-2007, 03:00 PM
I googled "text select background color css" and found what I could.

Is there a working method for this? If so, is it cross browser compliant?

Fang
08-17-2007, 04:52 PM
It doesn't work on form controls nor is it x-compliant.

robindean
08-17-2007, 05:05 PM
gotcha, not usin' it then.