DIV+CSS布局一行两列问题(Repeater布局)
代码
< 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 >
转载于//www.cnblogs.com/hubcarl/archive/2010/03/22/1691991.html
还没有评论,来说两句吧...