日期:2014-05-17 浏览次数:20596 次
<div style="width:260px; clear:both; height:200px; overflow:hidden;">
<asp:repeater id="rptList1" runat="server">
<ItemTemplate>
<div style="float:left; width:120px; height:25px; line-height:25px; overflow:hidden; text-align:left; margin-left:5px; margin-right:5px; margin-bottom:10px;">
aaaa
</div>
</ItemTemplate>
</asp:repeater>
</div>
------解决方案--------------------
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="12title" ID="Table5"> <asp:repeater id="rptList1" runat="server"> <ItemTemplate> <tr> <td>11</td> <td>22</td> </tr> </ItemTemplate> </asp:repeater> </table>
------解决方案--------------------
<asp:repeater id="rptList1" runat="server">
<ItemTemplate>
<ul>
<li>ssssssssssss</li>
<li>sssssssssssss</li>
</ul>
<ul>
<li>ssssssssssss</li>
<li>sssssssssssss</li>
</ul>
</ItemTemplate>
</asp:repeater>
<style type="text/css">
ul{
list-style-type:none; width:220px;border-bottom:1px red dotted
}
li{
width:100px;float:left;border-right:1px red dotted;
}
</style>