Changing textarea text color?

cur8or

Joined: 2005-09-06
Posts: 1
Posted: Sat, 2005-09-10 15:33

Would anyone who knows be so kind and point me in the right direction? I'm trying to change inactive text color in text boxes and can't figure out where to do it. I can change textarea active color with this in theme.css (which works in Firefox and Opera but doesn't work in IE):

#gallery input:focus, #gallery textarea:focus {
background-color: #2a0000;
color: #fff;
}

My background for text box is dark and by default textarea color is black, so it's very hard to see...

On another note, wouldn't it conceptually make sence to default textarea color to primary theme text color? Or add an entry for it to color.css?

Thanks alot in advance.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2005-09-12 09:13

Inactive text colors for textarea's cannot be changed for as far as I know. I first noted this when FF did not change the inactive text colors and I did it manually but then IE didn't follow that color... How (not) nice how they all (not) work alike :P

And on that other thing; why not simply change the default textarea color and you are rid of the black text color problem?

textarea {
color: #B0D1E8;
background-color: #324876;
border-width: 1px;
border-color: #000000;
border-style: solid;
}

edit:
I might be confused between inactive and disabled. But I figured you would use terms like focused and blurred if you mean that the textarea does not have focus ;)