0 Replies - 1430 Views - Last Post: 04 September 2009 - 09:59 PM

#1 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

add a cool CSS to your controls

Posted 04 September 2009 - 09:59 PM

Description:
<style type="text/css">
input,
button,
textarea,
select{
background-color:#FFFFFF;
border:1px solid #CCCCCC;
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
font-weight:normal;
color:#000000;
}
input:focus,select,
button:focus,select,
textarea:focus,select,
select:focus,select{
background-color:#FFFFCC;
border:#FFCC00 solid 1px;
font-size:11px;
}
body{
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
}
</style>
<form name="form1" method="post" action="">
  <table width="300" border="0" cellspacing="1" cellpadding="2">
    <tr>
      <td width="120">Username:</td>
      <td width="169"><label>
        <input type="text" name="txtUsername" id="txtUsername">
      </label></td>
    </tr>
    <tr>
      <td>Password:</td>
      <td><label>
        <input type="text" name="txtPassword" id="txtPassword">
      </label></td>
    </tr>
    <tr>
      <td> </td>
      <td><label>
        <input type="submit" name="btnLogin" id="btnLogin" value="Login">
      </label></td>
    </tr>
  </table>
</form>



Is This A Good Question/Topic? 0
  • +

Page 1 of 1