Web Analytics Made Easy -
StatCounter CSS able to render disabled button? - CodingForum

Announcement

Collapse
No announcement yet.

CSS able to render disabled button?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS able to render disabled button?

    Is there a way using CSS that I can specify the look of a button when it goes disabled?

    G

  • #2
    input[disabled], textarea[disabled], button[disabled] {
    /* my CSS */
    }

    I believe would style the disabled form elements in any browser that supports any real amount of CSS2, which is of course not IE, but rather Gecko and Opera 6.

    I would assume by disabling the element in JS, the attribute "disabled" will be updated to reflect that, though I don't know for sure.
    jasonkarldavis.com

    Comment


    • #3
      Wow. Thanks JCJ and JKD.

      G

      Comment

      Working...
      X