R
Robert W.
I'm trying to put a simple table tightly inside an ASP Panel. Here's the
HTML code:
<aspanel id="PanelHeader" runat="server" BackColor="RoyalBlue"
Height="80px">
<TABLE style="WIDTH: 1141px; HEIGHT: 80px" height="80" cellSpacing="0"
cellPadding="0"
width="1141" border="0">
<TR>
<TD>
<asp:Image id="Image1" Height="74px" runat="server"
ImageUrl="header_image.jpg"></asp:Image></TD>
<TD style="COLOR: white; FONT-FAMILY: Arial" vAlign="baseline"
align="right">
<asp:Label id="Label1" runat="server">User: madams</asp:Label><BR>
<asp:LinkButton id="LinkButton1" runat="server" ForeColor="#ffffff"
Font-Names="Arial">Logout</asp:LinkButton></TD>
</TR>
</TABLE>
</aspanel>
The problem is that it's putting a blank line after the table and thus the
bottom edge of the table is not flush up against the bottom of the panel.
It's almost as if there's a trailing space that I can't get rid of.
How do I fix this?
HTML code:
<aspanel id="PanelHeader" runat="server" BackColor="RoyalBlue"
Height="80px">
<TABLE style="WIDTH: 1141px; HEIGHT: 80px" height="80" cellSpacing="0"
cellPadding="0"
width="1141" border="0">
<TR>
<TD>
<asp:Image id="Image1" Height="74px" runat="server"
ImageUrl="header_image.jpg"></asp:Image></TD>
<TD style="COLOR: white; FONT-FAMILY: Arial" vAlign="baseline"
align="right">
<asp:Label id="Label1" runat="server">User: madams</asp:Label><BR>
<asp:LinkButton id="LinkButton1" runat="server" ForeColor="#ffffff"
Font-Names="Arial">Logout</asp:LinkButton></TD>
</TR>
</TABLE>
</aspanel>
The problem is that it's putting a blank line after the table and thus the
bottom edge of the table is not flush up against the bottom of the panel.
It's almost as if there's a trailing space that I can't get rid of.
How do I fix this?