title: html table <td> width in repeater itemtemplate unable to set
body: <p>I'm trying to adjust the width of the columns in the HTML table which act as the holder of ASP repeater items.</p>
  
  <pre><code>&lt;asp:Repeater id="viewproduct" runat="server"&gt; 
   &lt;HeaderTemplate&gt;
    &lt;table id="grid"&gt;
      &lt;thead &gt;
         &lt;tr&gt;
           &lt;th width="20px" data-field="check"&gt;&lt;/th&gt;
           &lt;th data-field="level"&gt;Status&lt;/th&gt;
           &lt;th data-field="Class"&gt;Username&lt;/th&gt;
         &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;``
    &lt;/HeaderTemplate&gt;
    &lt;ItemTemplate&gt;
        &lt;tr&gt;
        &lt;td width="20px"&gt;&lt;asp:CheckBox ID="CheckApprove" runat="server" Width="20px" /&gt;&lt;/td&gt;                   
        &lt;td&gt;&lt;asp:Label ID="status" runat="server"
              Text='&lt;%#DataBinder.Eval(Container.DataItem, "Status")%&gt;'&gt;&lt;/asp:Label&gt;&lt;/td&gt; 
        &lt;td&gt;&lt;asp:Label ID="name" runat="server"
              Text='&lt;%#DataBinder.Eval(Container.DataItem, "name")%&gt;'&gt;&lt;/asp:Label&gt;&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/ItemTemplate&gt;
    &lt;FooterTemplate&gt;
      &lt;/tbody&gt;
      &lt;/table&gt;
    &lt;/FooterTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>Notice that the header follows the width, but the content does not. WHY?
  Here's how my table looks like currently:</p>
  
  <p><img src="https://s17.postimg.org/br2lr7ktb/table_fault.jpg" alt=""></p>