I can't for the life of me find out how to change the font color on a disabled text input to look black. I know that you can change the color via the style attribute in the input tag, but setting it to black still looks light gray, by virtue of it being disabled. I have to imagine I'm just missing some sort of "background-tint" element or something.
Anyone have a good solution? For now I'm just using td's and making them look like an input field, but I'd like to actually use disabled inputs.
Thanks
HTML Style Question
- Sylvus
- Super Poster!
- Posts: 7033
- Joined: July 10, 2002, 11:10 am
- Gender: Male
- XBL Gamertag: mp72
- Location: A², MI
- Contact:
HTML Style Question
"It's like these guys take pride in being ignorant." - Barack Obama
Go Blue!
Go Blue!
-
- Way too much time!
- Posts: 1673
- Joined: July 16, 2004, 11:02 am
- Location: Royal Palm Beach, FL
btw- MSDN is the best HTML reference out there. If there is a simple style tag to solve the problem- it will be listed there (i found nothing). Its a fantastic place to have bookmarked
http://msdn.microsoft.com/library/defau ... ements.asp
http://msdn.microsoft.com/library/defau ... ements.asp
I TOLD YOU ID SHOOT! BUT YOU DIDNT BELIEVE ME! WHY DIDNT YOU BELIEVE ME?
Code: Select all
input {
font-family: Verdana, Arial;
font-size: 10px;
color: #000000;
}
- Sylvus
- Super Poster!
- Posts: 7033
- Joined: July 10, 2002, 11:10 am
- Gender: Male
- XBL Gamertag: mp72
- Location: A², MI
- Contact:
Yeah, I was looking for font color change. Currently IE 6 is the main standard we have to code for, so for now I just avoided using disabled input boxes.
That wasn't my choice in the first place, one of the analysts wanted it to look like that. Oh well.
That wasn't my choice in the first place, one of the analysts wanted it to look like that. Oh well.
"It's like these guys take pride in being ignorant." - Barack Obama
Go Blue!
Go Blue!