title: How to align a label to the top of a row in a table asp.net C#
body: <p>I have a table in my asp.net page. The controls that I am trying to align is a label, and a textbox. I have both controls in one row in the table. No matter how I try to align the label, it displays from the bottom of the row. How can I align the label to display in the center or the top of the row?</p>
  
  <p>Here is my html aspx code:</p>
  
  <pre><code>&lt;tr&gt;
              &lt;td colspan="4"&gt;
                  &lt;span&gt;
                      &lt;asp:Label class="field" ID="Label9" runat="server" Text="Comments:"&gt;&lt;/asp:Label&gt;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;
      &lt;asp:TextBox ID="TB_Comments" runat="server" TextMode="MultiLine" Width="500px" Height="50px"&gt;&lt;/asp:TextBox&gt;
                  &lt;/span&gt;
  
              &lt;/td&gt;
          &lt;/tr&gt;    
  </code></pre>
  
  <p>Here is my style code:</p>
  
  <pre><code>&lt;style type="text/css"&gt;   
  .field label,
  .field select
  {
      display: inline-block;
      vertical-align: top;
  
  }
      &lt;/style&gt;
  </code></pre>
  
  <p>Also is there a way for me to align the label control to the top or center via the codebehind and not using HTML? Thanks for any input. </p>