L
L-E Eriksson
Hello!
I have a web form with a datalist control. The datalist shows articles from
a db. The page looks nice in IE6 and FF, but in IE7 the line breaks are
messed up, so for each article in the datalist, only the first line is
visible.
This is the code in short:
<form id="form1" runat="server">
<aspataList ID="DataList1" runat="server" Width="612px"
Height="84px">
<ItemTemplate >
<asp:Label ID="PAGECONTENTLabel" runat="server"
Text='<%# Eval("PAGECONTENT") %>' Width="100%"></asp:Label>
</ItemTemplate>
<SeparatorTemplate>
<hr />
</SeparatorTemplate>
<ItemStyle />
</aspataList>
</form>
I guess there som css needed?
Regards
L-E Eriksson
I have a web form with a datalist control. The datalist shows articles from
a db. The page looks nice in IE6 and FF, but in IE7 the line breaks are
messed up, so for each article in the datalist, only the first line is
visible.
This is the code in short:
<form id="form1" runat="server">
<aspataList ID="DataList1" runat="server" Width="612px"
Height="84px">
<ItemTemplate >
<asp:Label ID="PAGECONTENTLabel" runat="server"
Text='<%# Eval("PAGECONTENT") %>' Width="100%"></asp:Label>
</ItemTemplate>
<SeparatorTemplate>
<hr />
</SeparatorTemplate>
<ItemStyle />
</aspataList>
</form>
I guess there som css needed?
Regards
L-E Eriksson