title: Apply Submit Button's Formatting for Normal Buttons in CakePHP
body: <p>I have a simple requirement that I need to apply "submit" button's formatting in CakePHP to normal buttons. I have tried copying submit button's formatting in <strong>cake.generic.css</strong> (as described below) but it didn't have any effect on the display of the buttons.</p>
  
  <p><strong>Existing formatting for Submit Buttons</strong> (if modified, screen shows effect immediately)</p>
  
  <pre><code>input[type=submit] {
      display: inline;
      font-size: 110%;
      width: auto;
  }
  form .submit input[type=submit]{
      background: none repeat scroll 0 0 #333333;
      color: #FFFFFF;
      padding: 0.5em;
      cursor: pointer;
  
  }
  form .submit input[type=submit]:hover {
      background: #aaa;
    border-left: 5px #000 solid;
    padding-left: 15px;
      color: #333333;
      font-weight: bold;
      cursor: pointer;
  }
  </code></pre>
  
  <p><strong>Formatting for button that's not working</strong></p>
  
  <pre><code>input[type=button] {
      display: inline;
      font-size: 110%;
      width: auto;
  }
  
  form .button input[type=button]{
      background: none repeat scroll 0 0 #333333;
      color: #FFFFFF;
      padding: 0.5em;
      cursor: pointer;
  
  }
  form .button input[type=button]:hover {
      background: #aaa;
    border-left: 5px #000 solid;
    padding-left: 15px;
      color: #333333;
      font-weight: bold;
      cursor: pointer;
  }
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/wqxTc.jpg" rel="nofollow">Screen shot of the screen</a></p>
  
  <p><strong>edit.ctp code for buttons</strong> (style is working and button's color changed to yellow)</p>
  
  <pre><code>echo $this-&gt;Form-&gt;button('Disable', array('style'=&gt;'background:#FF0', 'type'=&gt;'button','onclick'=&gt; 'change_status(0);'));
          echo "\t";
          echo $this-&gt;Form-&gt;button('Delete', array('type'=&gt;'button', 'onclick'=&gt; 'change_status(2);'));
  </code></pre>
  
  <p>Now I need to know how to code for "hover" inside style in edit.ctp. I know it's workaround but I am OK with it.</p>