1、鼠标变小手
div{ cursor: pointer; }
2、div浮动到最上层
首先将position定义为,absolute、relative或fixed。
(必须position为以上三个属性,z-index才能层级体现出来,才能起作用)
设置 style 中 z-index:auto
auto可定义为一个值(整数数字),越大代表越置前,如可定义为: z-index:9999。
若定义为-1,代表为最底层。
3、fom中的submit与reset
$("#formName").submit(); $("#formName").reset();4、表格
<thead>
<tr>
<th rowspan="2">内设机构</th>
<th rowspan="2">应配正科级领导职数</th>
<th colspan="2">实配科长</th>
<th rowspan="2">应配副科级领导职数</th>
<th colspan="2">实配副科长</th>
<th rowspan="2">应配主任科员职数</th>
<th rowspan="2">实配主任科员职数</th>
<th rowspan="2">应配副主任科员职数</th>
<th rowspan="2">实配副主任科员职数</th>
<th rowspan="2">备注</th>
</tr>
<tr>
<th>人数</th>
<th>具体人员</th>
<th>人数</th>
<th>具体人员</th>
</tr>
</thead>
<tbody id="">
<tr>
<td id=""></td>
<td id=""></td>
<td id=""></td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
<td id="">0</td>
</tr>
</tbody>