Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Big gap after label text and controls in a table row

Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America asked on
ASP.NET
4 Comments1 Solution268 ViewsLast Modified:
Why am I getting this 2 inch gap between my labels and my controls (in the table below)


//why is there like a 2 inch gap after the words "New Ticket ID:"    ????

<tr>
      <td>
        <asp:Label ID="LabelNewTicketNum" runat="server" Text="New Ticket ID:"></asp:Label>
      </td>
      <td>
        <asp:Label ID="LabelNewTicketNumValue" runat="server" Text="Label"></asp:Label>
      </td>
    </tr>




============
SOURCE
============

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="TroubleTicketDetails.aspx.cs" Inherits="Tools_Troubleticket_TroubleTicketDetails" Title="Untitled Page" %>
<%@ Register TagPrefix="Content" TagName="Menu" Src="~/Tools/Troubleticket/Controls/MenuControl.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HomePage" Runat="Server">

<Content:Menu runat="server" Visible="true" ID="AdminMenu" />

<div class="main">
  <table>
    <tr>
      <td>
        <asp:Label ID="LabelNewTicketNum" runat="server" Text="New Ticket ID:"></asp:Label>
      </td>
      <td>
        <asp:Label ID="LabelNewTicketNumValue" runat="server" Text="Label"></asp:Label>
      </td>
    </tr>
    <tr>
      <td>
        <asp:Label ID="LabelNewTicketUserFullName" runat="server" Text="User Name (userid):"></asp:Label>
      </td>
      <td>
        <asp:Label ID="LabelNewTicketUserFullNameValue" runat="server" Text="Label"></asp:Label>
      </td>
    </tr>        
   
    <tr>
      <td>
        <asp:Label ID="LabelCategory" runat="server" Text="Category:"></asp:Label>
      </td>
      <td>
        <asp:DropDownList DataTextField="TroubleTicketCategory" DataValueField="ID" ID="DropDownListCategory"   runat="server" Width="159px" OnSelectedIndexChanged="DropDownListCategory_SelectedIndexChanged">          
        </asp:DropDownList>
      </td>
    </tr>        
   
    <tr>
      <td>
        <asp:Label ID="LabelType" runat="server" Text="Type:"></asp:Label>
      </td>
      <td>
        <asp:DropDownList DataTextField="TroubleTicketType" DataValueField="ID" ID="DropDownListType" runat="server" Width="159px" OnSelectedIndexChanged="DropDownListType_SelectedIndexChanged">          
        </asp:DropDownList>
      </td>
    </tr>        
   
    <tr>
      <td>
        <asp:Label ID="LabelItem" runat="server" Text="Item:"></asp:Label>
      </td>
      <td>
        <asp:DropDownList DataTextField="TroubleTicketItem" DataValueField="ID" ID="DropDownListItem" runat="server" Width="159px" OnSelectedIndexChanged="DropDownListItem_SelectedIndexChanged">          
        </asp:DropDownList>
      </td>
    </tr>        
   
    <tr>
      <td>
        <asp:Label ID="LabelPriority" runat="server" Text="Priority:"></asp:Label>
      </td>
      <td>
        <asp:DropDownList DataTextField="TroubleTicketPriority" DataValueField="ID" ID="DropDownListPriority" runat="server" Width="159px" OnSelectedIndexChanged="DropDownListPriority_SelectedIndexChanged">          
        </asp:DropDownList>
      </td>
    </tr>        
   
    <tr>
      <td valign="top" align="right">
        <asp:Label ID="LabelNotes" runat="server" Text="Notes:"></asp:Label>
      </td>
      <td>
        <asp:TextBox ID="TextBoxNotes" runat="server" Rows="10" TextMode="MultiLine"></asp:TextBox></td>
    </tr>    
   
    <tr>
      <td>
        <asp:Button ID="ButtonSave" runat="server" Text="Save Ticket Details" OnClick="ButtonSave_Click" />
      </td>
    </tr>
   
    <tr>
      <td>&nbsp;</td>
    </tr>      
    <tr>
      <td>If closing this ticket, choose Resolution Type:</td>
    </tr>      
   
    <tr>
      <td>
        <asp:DropDownList DataTextField="TroubleTicketResolutionType" DataValueField="ID" ID="DropDownListResolutionTypes" runat="server" Width="165px" OnSelectedIndexChanged="DropDownListResolutionTypes_SelectedIndexChanged">
        </asp:DropDownList>
      </td>
    </tr>    
    <tr>
      <td>
          <asp:Button ID="Button1" runat="server" Text="Close Ticket" />
      </td>  
    </tr>    
   
  </table>    
   
   
    </div>

</asp:Content>
ASKER CERTIFIED SOLUTION
Avatar of Rejojohny
RejojohnyFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers