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>
<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 布局一行两列,左列固定宽度,右列自适应宽度;设置最小宽度,窗口小的时候显示滚动条.
- DIV+CSS 布局一行两列,左列固定宽度,右列自适应宽度;设置最小宽度,窗口小的时候显示滚动条.
- DIV+CSS 布局一行两列,左列固定宽度,右列自适应宽度;设置最小宽度,窗口小的时候显示滚动条.
- DIV+CSS一行两列布局
- DIV+CSS 一行两列布局
- DIV+CSS 布局一行两列,左列固定宽度,右列自适应宽度;设置最小宽度
- DIV+CSS一行两列布局
- 左右两列且可收缩的流式布局框架--Jquery于Div/Css结合
- 第1次尝试div+css进行两栏式页面布局就遇到了IE的3px问题
- DIV+CSS三行两列经典布局
- DIV_CSS布局问题:3个水平对齐布局的DIV,左右固定宽,中间宽度自动填充
- div+Css三列布局中的一个小问题
- div+css布局遇到的一些问题和解决方法
- div+css 布局下兼容IE6 IE7 FF常见问题
- 浅谈CSS满屏品字布局中div设置height为百分比无效的问题
- CSS实现已知宽高的div垂直居中;自适应高度两列布局
- DIV+CSS页面布局中注意的问题以及常用的CSS使用方法
- DIV+CSS:网页一行两列背景自适应
- ul和li简单语句实现DIV+CSS分两列(多列)布局显示
- 第1次尝试div+css进行两栏式页面布局就遇到了IE的3px问题