Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-05-2012, 09:12 AM   PM User | #1
srikanthkumarp
New to the CF scene

 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
srikanthkumarp is an unknown quantity at this point
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>
srikanthkumarp is offline   Reply With Quote
Old 10-05-2012, 09:45 AM   PM User | #2
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 445
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
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.
stevenmw is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:20 PM.


Advertisement
Log in to turn off these ads.