简单的响应式table表格,根据浏览器自动布局
XML/HTML Code
- <table>
- <thead>
- <tr>
- <th>姓名</th>
- <th>
- 职务
- </th>
- <th>办公室地址</th>
- <th>年龄</th>
- <th>入职时间</th>
- <th>年薪</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>周一</td>
- <td>董事长</td>
- <td>上海</td>
- <td>33</td>
- <td>2008/11/28</td>
- <td>1627000</td>
- </tr>
- <tr>
- <td>吴二</td>
- <td>总经理</td>
- <td>深圳</td>
- <td>47</td>
- <td>2009/10/09</td>
- <td>1200000</td>
- </tr>
- <tr>
- <td>郑三</td>
- <td>财务总监</td>
- <td>深圳</td>
- <td>38</td>
- <td>2009/01/12</td>
- <td>1000000</td>
- </tr>
- <tr>
- <td>王四</td>
- <td>技术总监</td>
- <td>上海</td>
- <td>41</td>
- <td>2012/10/13</td>
- <td>850000</td>
- </tr>
- <tr>
- <td>刘</td>
- <td>销售总监</td>
- <td>深圳</td>
- <td>38</td>
- <td>2011/06/07</td>
- <td>900000</td>
- </tr>
- </tbody>
- </table>
原文地址:http://www.freejs.net/article_jquerywenzi_832.html