代码如下,我想在此处列出用户信息,且用div来控制换行,里面的内容无缝滚动,该如何做?我现在控制的换行,总是会乱,因为字数什么的不统一.
<table width="410" border="0" cellspacing="0" cellpadding="0">
<asp:Repeater ID="uj" runat="server">
<ItemTemplate>
<div style="float: left; width: 80%;text-align:left;padding-left:20px">
<a href="a.aspx?cid=<%#Eval("cid") %>" class="blue" target="_blank">
<%# Eval("username").ToString()%>
</a>
<br />
<%# Eval("userpwd").ToString()%>
<div style="height:2px"></div>
</div>
</ItemTemplate>
</asp:Repeater>
</table>