de aqui podras sacar lo que necesitas
**sacado de
HTMLCODETUTORIAL
Code:
Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.disabled {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #000000;
background-color: #666666;
border: 1px solid #000000;
}
.enabled {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-weight: bold;
color: #0000FF;
background-color: #CCCCCC;
border: 1px solid #0000FF;
}
-->
</style>
</head>
<body>
<form name="form1" id="form1" method="post" action="">
<input type="button" name="Button" value="Button" class="enabled" onclick="this.disabled=true;this.className='disabled';"/>
</form>
</body>
</html>