Saturday, December 4, 2010

CSS color for asp.net textbox in disabled state

i was wondering what's the hex equivalent of asp.net textbox color rendered in firefox/IE.
The default color is:
#7F9DB9 (Firefox/chrome/IE)
#DADADA (Safari)

CSS Code:
1
2
3
4
.Disabled  
{  
   border-color: #7F9DB9;  
}  

Or you may use the border attribute and define other properties such as border-style, border-width and border-color.

0 comments:

Post a Comment