CSS for disabled text field

  • Started
  • Last post
  • 1 Response
  • Moluv00

    Does anyone know what the CSS attribute definitions are for disabled text fields? I set the text color, but once it's disabled a completely different highlight AND shadow color come up for the text. I guess it's a default based on the background color, because it's different for dark and light backgrounds. Any help would be much appreciated.

  • davetufts0

    i'm not sure what the CSS equivelent is, but you can just add the word 'disabled'

    [form]
    [input type="text" name="x"]
    [br]
    [input type="text" name="y" disabled]
    [br]
    [input type="submit"]
    [/form]