DIV做的Table
<style>
div.table{
border:1px solid #d7d7d7;
margin-left:0px;
border-bottom-width:;
width:1200PX;
border-left-width:;
text-align:left;
line-height:40px;
}
.clear0{
clear:both;
height:0px;
}
div.table .row{
clear:both;
overflow:hidden;
border-bottom:1px solid #d7d7d7;
}
.rowbak{
}
div.table .srow{/*没有cell的一行*/
overflow:visible;
margin-left:1px;
border-bottom:1px solid #d7d7d7;
border-left:1px solid #d7d7d7;
}
div.table .cell{
border-left:1px solid #d7d7d7;
float:left;
margin-left:1px;
margin-right:-1px;
margin-bottom:-1000px;
padding-bottom:1000px;
}
div.table .cellEnd{
clear:both;
width:;
}
div.table .rowbak .cell{
background-color:#f2ecec;
height:100%;
}
</style>
<div class="table" >
<div class="row" style="line-height:40px;background-color:#d7d7d7;text-align:center;">
<div class="cell " style="width:50px;"> </div>
<div class="cell " style="width:542px;">问题标题</div>
<div class="cell w200" style="width:100px;">用户名</div>
<div class="cell" style="width:100px">提问时间</div>
<div class="cell" style="width:100px">状态</div>
<div class="cell" style="width:100px;">厂牌</div>
<div class="cell" style="width:100px;">车型</div>
<div class="cell" style="width:100px;">年份</div>
<div class="cellEnd"></div>
</div>
<div class="row rowbak">
<div class="cell " style="width:50px;">01</div>
<div class="cell " style="width:542px;">我的家庭协作我的家庭协作</div>
<div class="cell " style="width:100px;">234234234</div>
<div class="cell" style="width:100px">2016/06/30</div>
<div class="cell" style="width:100px">XXrld</div>
<div class="cell" style="width:100px">XXXrld</div>
<div class="cell" style="width:100px">XXXorld</div>
<div class="cell" style="width:100px"> 操作34</div>
<div class="cellEnd"></div>
</div>
<div class="row rowbak">
<div class="cell " style="width:50px;">01</div>
<div class="cell " style="width:542px;">我的家庭协作我的家庭协作</div>
<div class="cell " style="width:100px;">234234234</div>
<div class="cell" style="width:100px">2016/06/30</div>
<div class="cell" style="width:100px">XXrld</div>
<div class="cell" style="width:100px">XXXrld</div>
<div class="cell" style="width:100px">XXXorld</div>
<div class="cell" style="width:100px"> 操作34</div>
<div class="cellEnd"></div>
</div>
<div class="row rowbak">
<div class="cell " style="width:50px;">01</div>
<div class="cell " style="width:542px;">我的家庭协作我的家庭协作</div>
<div class="cell " style="width:100px;">234234234</div>
<div class="cell" style="width:100px">2016/06/30</div>
<div class="cell" style="width:100px">XXrld</div>
<div class="cell" style="width:100px">XXXrld</div>
<div class="cell" style="width:100px">XXXorld</div>
<div class="cell" style="width:100px"> 操作34</div>
<div class="cellEnd"></div>
</div> </div>
DIV做的Table的更多相关文章
- div+css与table布局
1:速度和加载方式方面的区别 div 的加载方式是即读即加载,遇到 <div> 没有遇到 </div> 的时候一样加载 div 中的内容,读多少加载多少:table 的加载方式 ...
- 贪心 Codeforces Round #273 (Div. 2) C. Table Decorations
题目传送门 /* 贪心:排序后,当a[3] > 2 * (a[1] + a[2]), 可以最多的2个,其他的都是1个,ggr,ggb, ggr... ans = a[1] + a[2]; 或先2 ...
- 在各浏览器和各分辨率下如何让div内的table垂直水平居中?
本文主要针对需要全屏显示的系统页面内,因为系统经常会用到表格table布局,偶尔的table需要显示在div的正中间,所以鄙人特此总结下div内table的万千姿态. <!DOCTYPE htm ...
- 9月23日JavaScript作业----用DIV做下拉列表
例题二.用div做下拉列表 <title>无标题文档</title> <style type="text/css"> *{ margin:0px ...
- 让div中的table居中
div 标签上写 style="text-align:center" div中的table中写 style="margin:auto;" <table ...
- 如何让div中的table水平居中
<div style="text-align:center"> <table border="1" cellpadding="3&q ...
- div居中和table居中,jQuery获取下拉列表值
一.div居中 margin-left: auto;margin-right: auto; <div style="width:960px ; margin-left: auto;m ...
- JS之document例题讲解1(两张表之间数据转移、日期时间选择、子菜单下拉、用div做下拉菜单、事件总结)
作业一:两个列表之间数据从一个列表移动到另一个列表 <div style="width:600px; height:500px; margin-top:20px"> & ...
- 两个重叠的div做前后翻转
当需要做一个翻转卡片式的div时候,需要两个div的大小等大例如: 画出两个等大的div后,将他们重叠 图中的两个div做了重叠,做重叠时候用的属性是 position: absolute; 并且需要 ...
随机推荐
- js 判断浏览器类型大全
/**** * 目前识别范围 * Microsoft Internet Explorer IE浏览器 * --> TheWorld 世界之窗 * --> TT浏览器 * --> 36 ...
- Hibernate XXX.hbm.xml 里的class标签的 schema 属性解释
转自:https://blog.csdn.net/mym43210/article/details/30230173 1 <?xml version="1.0" encodi ...
- linux内核中task_struct与thread_info及stack三者的关系
在linux内核中进程以及线程(多线程也是通过一组轻量级进程实现的)都是通过task_struct结构体来描述的,我们称它为进程描述符.而thread_info则是一个与进程描述符相关的小数据结构,它 ...
- 【原】Coursera—Andrew Ng机器学习—编程作业 Programming Exercise 3—多分类逻辑回归和神经网络
作业说明 Exercise 3,Week 4,使用Octave实现图片中手写数字 0-9 的识别,采用两种方式(1)多分类逻辑回归(2)多分类神经网络.对比结果. (1)多分类逻辑回归:实现 lrCo ...
- Python基本数据类型--列表、元组、字典、集合
一.Python基本数据类型--列表(List) 1.定义:[ ]内以逗号分隔,按照索引,存放各种数据类型,每个位置代表一个元素. 2.列表的创建: # 方式一 list1 = ['name','ag ...
- 475. Heaters 加热范围
[抄题]: Winter is coming! Your first job during the contest is to design a standard heater with fixed ...
- NUMA微架构
NUMA微架构 written by qingran September 8th, 2011 no comment 现在开始补日志,逐步的扫清以前写了一半的和"欠账未还的".半年之 ...
- Apache apachectl命令
一.简介 apachectl命令是Apache的Web服务器前端控制工具,用以启动.关闭和重新启动Web服务器进程. 二.语法 http://www.jinbuguo.com/apache/menu2 ...
- 第十二课 Actionlib(1)
一\Actionlib概念 在ROS系统中,有时需发送请求给某个节点完成相应的任务,同时获得一个一个响应,这种情况下可以通过ROS服务来 完成;然而,在某些情况下,服务需要很长时间才能执行完,如让机器 ...
- Entity Framework 6.0 Tutorials(4):Database Command Logging
Database Command Logging: In this section, you will learn how to log commands & queries sent to ...