Posted By

neal_grosskopf on 12/07/07


Tagged

css


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

copyleft
vali29
sbbath
stoker
neal_grosskopf
titox
monapdx
amasters
atulkransingh


Make Button Appear to Be Disabled on Click With CSS


 / Published in: CSS
 

URL: http://nealgrosskopf.com/files/css/style.css

A better more accessible method to make buttons appear to be disabled upon click via css (with no javascript) Doesn't work in IE but does in other browsers.

  1. button:active, button:focus
  2. {
  3. border: 1px solid #777777;
  4. color: #777777;
  5. }

Report this snippet  

You need to login to post a comment.