title: Input-Type Submit Behind Div Element
body: <p>I have used input-type submit, but now I would like to change it to  the button style. To this end, I have used the code below:</p>
  
  <pre><code>&lt;div class="cartbutton"&gt;
       &lt;input type="submit" name="shortname" value="product1" class="add_to_cart" /&gt;
       &lt;div class="buttoninner"&gt;
            &lt;div class="buttontext"&gt;Add to Cart&lt;/div&gt;&lt;div class="cartimage"&gt;&lt;/div&gt;
       &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have positioned the <code>buttoninner</code> div element above the input-type submit using the CSS below:</p>
  
  <pre><code>.cartbutton {
      position: relative;
      width: 178px;
  }
  
  .add_to_cart {
      background: none repeat scroll 0 0 transparent;
      border: 0 none;
      cursor: pointer;
      height: 38px;
      opacity: 0;
      width: 177px;
      z-index: 2;
  }
  
  .buttontext {
      background-color: #333333;
      border: 0 none;
      color: white;
      cursor: pointer;
      float: left;
      font-family: "Segoe UI",helvetica,arial,sans-serif;
      font-size: 20px;
      padding: 5px 20px;
  }
  .cartimage {
      background-color: #F7941D;
      background-image: url("/Content/en-US/Sales/Images/small_cart.png");
      background-position: 5px 50%;
      background-repeat: no-repeat;
      float: left;
      height: 38px;
      width: 40px;
  }
  .buttoninner {
      position: absolute;
      top: 0;
      z-index: 1;
  }
  </code></pre>
  
  <p>Unfortunately, the button post not working. How can I active the submit button behind the div element?</p>