title: How can I set a width limit on a table column?
body: <p>I have a table containing data and in the first field it has translatable labels.</p>
  
  <p>I would like to be able to set a width in the label column but make it so that if someone translates the labels and the text is longer, that is expands the column but up to a given point.</p>
  
  <p>Example label column requirements:</p>
  
  <pre><code>Width: 200px;
  Expandable: true;
  Max Expanding: 300px; 
  </code></pre>
  
  <p>Note: I am specifically asking how to enable this functionality but it must have a maximum width when expanding. </p>
  
  <pre><code>    &lt;table id="tblCustTypes" class="tblTop"&gt;
          &lt;tr&gt;
              &lt;td class="auto-style1"&gt;
                  &lt;asp:Label ID="lblCustType" runat="server" Text="Cust Type"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:TextBox ID="txtCustomerType" runat="server" Width="20%" class="autosuggest" CssClass="autosuggest" OnChange="onSave();" OnTextChanged="txtCustomerType_TextChanged" AutoPostBack="True"&gt;&lt;/asp:TextBox&gt;
                  &lt;asp:Label ID="lblTempCustType" runat="server" Visible="false"&gt;&lt;/asp:Label&gt;
  
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="auto-style1"&gt;
                  &lt;asp:Label ID="lblDescription" runat="server" Text="Description"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:TextBox ID="txtDescription" runat="server" Width="35%"&gt;&lt;/asp:TextBox&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="auto-style1"&gt;
                  &lt;asp:Label ID="lblApplyVAT" runat="server" Text="Apply VAT"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:RadioButtonList ID="rblApplyVAT" runat="server" RepeatDirection="Horizontal"&gt;
                      &lt;asp:ListItem Selected="True" Value="1"&gt;Yes&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem Value="0"&gt;No&lt;/asp:ListItem&gt;
                  &lt;/asp:RadioButtonList&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="auto-style1"&gt;
                  &lt;asp:Label ID="lblProduceInvoices" runat="server" Text="Produce Invoices"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:RadioButtonList ID="rblProduceInvoices" runat="server" RepeatDirection="Horizontal"&gt;
                      &lt;asp:ListItem Selected="True" Value="1"&gt;Yes&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem Value="0"&gt;No&lt;/asp:ListItem&gt;
                  &lt;/asp:RadioButtonList&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="auto-style1"&gt;
                  &lt;asp:Label ID="lblPurchaseSale" runat="server" Text="Purchase/Sale"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:RadioButtonList ID="rblPurchaseSale" runat="server" RepeatDirection="Horizontal"&gt;
                      &lt;asp:ListItem Value="P"&gt;Purchase&lt;/asp:ListItem&gt;
                      &lt;asp:ListItem Selected="True" Value="S"&gt;Sale&lt;/asp:ListItem&gt;
                  &lt;/asp:RadioButtonList&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td class="auto-style1"&gt;
                  &lt;asp:Label ID="lblTerms" runat="server" Text="Terms (Days)"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:TextBox ID="txtTerms" runat="server" Width="5%"&gt;&lt;/asp:TextBox&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;
                  &lt;asp:Label ID="lblLastUpdated" runat="server" Text="Last Updated"&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:Label ID="lblLastUpdatedVal" runat="server" Text=""&gt;&lt;/asp:Label&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  </code></pre>