<asp:DataList ID="dlist_Down" runat="server" Width="100%" Height="100%">
<ItemTemplate>
<div style=" margin:0px; padding:0xp; height:30px; overflow:hidden;">
<asp:LinkButton ID="lkb__Post_Title" runat="server" Text='<%# Eval("cName") %>' CssClass="left_content_font"></asp:LinkButton>
</div>
<div style="margin:0px; padding:0xp; height:1px; overflow:hidden;">
<asp:Image ID="img_sperator" runat="server" ImageUrl="~/images/speator.jpg" Height="1px" Width="224px"/>
</div>
</ItemTemplate>
</asp:DataList>
我想让datalist 之间 有条分割线(图片),这是我写的。但是不显示分割线的图片,帮我看看?
<ItemTemplate>
<div style=" margin:0px; padding:0xp; height:30px; overflow:hidden;">
<asp:LinkButton ID="lkb__Post_Title" runat="server" Text='<%# Eval("cName") %>' CssClass="left_content_font"></asp:LinkButton>
</div>
<div style="margin:0px; padding:0xp; height:1px; overflow:hidden;">
<asp:Image ID="img_sperator" runat="server" ImageUrl="~/images/speator.jpg" Height="1px" Width="224px"/>
</div>
</ItemTemplate>
</asp:DataList>
我想让datalist 之间 有条分割线(图片),这是我写的。但是不显示分割线的图片,帮我看看?
是让我在里边弄个table 吗?
有没有更好的呢?
下边那个先不要了