title: Font consistency in a textarea
body: <p>How do I make a textarea have the same font as everything else on the webpage?</p>
  
  <p>Currently I have my code:</p>
  
  <p><code>test.html</code>:</p>
  
  <pre><code>    &lt;html&gt;
        &lt;head&gt;
          &lt;link rel="stylesheet" href="test.css"&gt;
        &lt;/head&gt;
      &lt;body&gt;
          &lt;div id="testarea"&gt;
            &lt;textarea&gt;&lt;/textarea&gt;
          &lt;/div&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p><code>test.css</code>:</p>
  
  <pre><code>    body { font: 100%/120% Verdana, Arial, Helvetica, sans-serif;}
      #testarea textarea { width: 30em;height: 7em;font: inherit;}
  </code></pre>
  
  <p>Font inherits in Mozilla, but IE7 keeps Courier inside the textarea.</p>
  
  <p>UPD: Apparently <code>inherit</code> does not work in IE for textarea, so I'll go with AlbertoPL's method.</p>