Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Reduce td vertical height

    can you guys help to find some solution for reduce td height.
    below is my code:

    Note: i must use " " before colsing td.

    <tr id="trVendorClassification" runat="server">
    <td width="20%" class="credentials">
    Vendor Classification:
    </td>
    <td width="80%" class="credentialsData" colspan="3" style="padding-left: 0px;">
    <asp:Label ID="lblClassificationV" runat="server" Visible="false" Text = ""></asp:Label>
    <asp:CheckBoxList ID="chkVendorClassification" runat="server" RepeatDirection="Horizontal">
    <asp:ListItem Value="0" Text="Bank"></asp:ListItem>
    <asp:ListItem Value="1" Text="Canon Group/Subsidiaries"></asp:ListItem>
    <asp:ListItem Value="2" Text="Suppliers" Selected="True"></asp:ListItem>
    <asp:ListItem Value="3" Text="Government Bodies & Essential Services"></asp:ListItem>
    </asp:CheckBoxList>&nbsp;
    </td>
    </tr>

  • #2
    Regular Coder stevenmw's Avatar
    Join Date
    Jun 2007
    Location
    OK
    Posts
    497
    Thanks
    27
    Thanked 31 Times in 31 Posts
    If your using <td></td>

    Code:
    <td height="100">$100</td>
    A couple of things to consider. Using <div>s is a much better solution than tables. Keep all of your CSS separate from your HTML.



    Please make sure to wrap your code when writing posts. Like I did above.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •