PDA

View Full Version : Background color change in Firefox text area


Wassercrats
07-03-2006, 02:41 AM
Sometimes I open CNC in Firefox to edit a file, but the change in background color when the text area is in focus is really annoying. I at least want to make it a lighter shade of grey. Do I need to use this (https://addons.mozilla.org/firefox/1310/) plug-in, or is there an option to turn off the background color already built into Firefox?

Randall
07-03-2006, 11:51 PM
I haven't seen it happen anywhere but the CNC. Take a look at this bit of CSS from the editor page:

input:focus, select:focus, textarea:focus { background: #eaeaea; color: #000; }

If I edit that line out using the Web Developer extension, the text area stays white. (I even played around with different background colors to make sure it really was being controlled by that line.) We're just seeing a CSS feature -- used deliberately by the FQ elves, for whatever reason -- that IE doesn't happen to recognize. Opera 8.5 and Safari behave the same way as Firefox.

Randall

Wassercrats
07-04-2006, 12:51 AM
The Highlight Focus add-on (plug-in, extension...whatever) works too. Its default background color is #FDFFEF, which is similar to FF's and IE's toolbar color, which is better than FQ grey. I think I'll keep it like that.