您好,我在创建此复杂表格时遇到问题,有人可以帮我
答案 0 :(得分:1)
这可能会帮助您。
<style>
.rotate90deg{
transform:rotate(-90deg);
margin-bottom:18px;
}
</style>
<table width="100%" border="1" cellspacing="0" cellpadding="5">
<tr>
<td width="3%" height="55" valign="bottom">No.</td>
<td width="5%" valign="bottom">Student's Name</td>
<td width="5%" valign="bottom"><div class="rotate90deg">Semester</div></td>
<td width="3%" valign="bottom">Age</td>
<td width="3%" valign="bottom">Sex</td>
<td width="4%" valign="bottom"><div class="rotate90deg">English</div></td>
<td width="4%" valign="bottom"><div class="rotate90deg">Maths</div></td>
<td width="73%" valign="bottom"></td>
</tr>
<tr>
<td rowspan="3"> </td>
<td rowspan="3"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3"> </td>
<td rowspan="3"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3"> </td>
<td rowspan="3"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>