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 >

 

你可能感兴趣的:(div+css)