title: Vertically align text in a asp.net dropdown list control
body: <p>How do I vertically align a text in a asp.net dropdownlist control?
  I researched the web and found several proposed solutions with padding etc. but none seem to work.
  This is my code.</p>
  
  <pre><code> &lt;asp:DropDownList ID="DropDownList1" runat="server" CssClass="dropdown"&gt;
      &lt;asp:ListItem&gt;sds&lt;/asp:ListItem&gt;
      &lt;asp:ListItem&gt;ddd&lt;/asp:ListItem&gt;
      &lt;asp:ListItem&gt;xxx&lt;/asp:ListItem&gt;
      &lt;/asp:DropDownList&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>.dropdown
  {
      height: 35px;
      background-color: Blue;
      font-size: 15px;
      padding-top: 10px;
      padding-bottom: 10px;    
  }
  </code></pre>