CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Reduce td vertical height (http://www.codingforums.com/showthread.php?t=275247)

srikanthkumarp 10-05-2012 09:12 AM

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>

stevenmw 10-05-2012 09:45 AM

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.


All times are GMT +1. The time now is 04:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.