您的位置:首页 > Web前端 > CSS

DIV+CSS布局一行两列问题(Repeater布局)

2010-03-22 22:59 381 查看
代码<div>
<asp:Repeater ID="rptAppReview" runat =server>
<ItemTemplate>
<div>
<div style="width:80px; height:70px; float :left;clear :both">
<img src="<%#Eval("ScreenshotUrl")%>" alt="" style="width:64px; height :64px" />
</div>
<div style="float:left">
<div style="height :20px"><%#Eval("Title")%></div>
<div style="height :20px">Release date:<%#Eval("PublishTime")%></div>
<div style="height:40px; overflow :hidden"><%#Eval("Content")%></div>
</div>
<div style="clear :both "></div> <!--清楚浮动-->
</div>
</ItemTemplate>
</asp:Repeater>

</div>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: