J
Jeff
hi
asp.net 3.5
Here is some markup from my webproject. The problem is that this div:
<td style="color:Red; font-family:Verdana; font-size:10px; width:80px;
background-color:Lime;">
<asp:Literal ID="litDate1" runat="server" ></asp:Literal>
</td>
is larger than 80px. This div is meant to just display a date
([28.05.2009]), but it's space is like:
"[28.05.2009] " (notice the empty space after
the date) which causes the litTitle1 to not be aligned near the date field.
(looks like the 80px css style have little effect)
any ideas what I do wrong here?
markup:
<table style="width:546px;">
<tr>
<td style="width:177px; height:130px; ">
<a id="link" runat="server">
<asp:Image ID="thumbnail1" runat="server" Width="177" Height="130" />
</a>
</td>
<td valign="top" style =" background-color:Yellow;">
<table>
<tr>
<td style="color:Red; font-family:Verdana; font-size:10px; width:10px;
background-color:Lime;">
<asp:Literal ID="litDate1" runat="server" ></asp:Literal>
</td>
<td style="font-family:Verdana; font-size:13px; font-weight:bolder;">
<asp:Literal ID="litTitle1" runat="server"></asp:Literal>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Literal ID="litContent1" runat="server"></asp:Literal>
</td>
</tr>
</table>
</td>
</tr>
</table>
asp.net 3.5
Here is some markup from my webproject. The problem is that this div:
<td style="color:Red; font-family:Verdana; font-size:10px; width:80px;
background-color:Lime;">
<asp:Literal ID="litDate1" runat="server" ></asp:Literal>
</td>
is larger than 80px. This div is meant to just display a date
([28.05.2009]), but it's space is like:
"[28.05.2009] " (notice the empty space after
the date) which causes the litTitle1 to not be aligned near the date field.
(looks like the 80px css style have little effect)
any ideas what I do wrong here?
markup:
<table style="width:546px;">
<tr>
<td style="width:177px; height:130px; ">
<a id="link" runat="server">
<asp:Image ID="thumbnail1" runat="server" Width="177" Height="130" />
</a>
</td>
<td valign="top" style =" background-color:Yellow;">
<table>
<tr>
<td style="color:Red; font-family:Verdana; font-size:10px; width:10px;
background-color:Lime;">
<asp:Literal ID="litDate1" runat="server" ></asp:Literal>
</td>
<td style="font-family:Verdana; font-size:13px; font-weight:bolder;">
<asp:Literal ID="litTitle1" runat="server"></asp:Literal>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Literal ID="litContent1" runat="server"></asp:Literal>
</td>
</tr>
</table>
</td>
</tr>
</table>