title: CSS vertically align LI's in middle
body: <p>I have the following HTML where I need the LI elements to vertically display in the middle of the 21 pixel high UL area.  Here is my HTML...</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;style type="text/css"&gt;
          .MenuBar
          {
              padding: 0px;
              border: 1px solid #036;
              height: 21px;
              font-size: 8pt;
          }
          .MenuBar li
          {
              display: inline;
              padding-left: 20px;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;ul class="MenuBar"&gt;
          &lt;li&gt;Link 1&lt;/li&gt;&lt;li&gt;Link 2&lt;/li&gt;&lt;li&gt;Link 3&lt;/li&gt;&lt;/ul&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How would one alter the above HTML to achieve this effect?</p>