title: Centering text (vertically) inside a textbox using CSS
body: <p>I'm currently working with a textbox that has a background. I was wondering if it's possible to center text (vertically) inside the textbox.</p>
  
  <p><strong>important</strong>: it's perfectly centered in firefox. Only IE it writes it too high for some reason. I've tried line-height, padding, and margin. Nothing works. Any ideas?</p>
  
  <p>EDIT: This is my current CSS. I should say that I've tried the margin-top method and it didn't work for me. Also, as I mentioned, this is only for IE. I have IE specific style sheets so no worries.</p>
  
  <pre><code>.textValue { color: black; font-size: 12px; font-family: David, sans-serif; }
  input { width: 110px; padding: 0 2px; padding-right: 4px; height: 20px; border: solid 1px white; margin-bottom: 0px; background: url(../images/contactTextBg.png) no-repeat top right; }
  label { float: right; margin-left: 5px; font-size: 13px; }
  </code></pre>
  
  <p>For IE, I have the following:</p>
  
  <pre><code>.textValue { font-size: 14px; }
  </code></pre>
  
  <p>as for HTML:</p>
  
  <pre><code>            &lt;tr&gt;
                  &lt;td&gt;&lt;label for="name"&gt;name&lt;/label&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" name="name" id="name" class="textValue" value="" /&gt;&lt;/td&gt;
              &lt;/tr&gt;
  </code></pre>
  
  <p>Thanks,
  Amit</p>