日期:2014-05-17  浏览次数:20755 次

DIV中的表格不能对齐,求助。。。。
<p>&nbsp;
</p>
<style type="text/css">
td { font-size: 9pt}
.title { font-size: 10.5pt}
.iwhite {
border-left: 1px solid rgb(255,255,255);
  border-right: 1px solid rgb(255,255,255); 
border-top: 1px solid rgb(255,255,255);
border-bottom:1px solid rgb(0.0,255); 
font-family: "Verdana", "Arial", "Helvetica", "sans-serif"; 
font-size: 9pt; color: #298583;background:#ffffff; font-weight: normal}
.igray {font-family: "宋体";
font-size: 9pt;
color: #000000;
background:#ffffff;
font-weight: normal;
border-bottom: 0px solid #D7E0EC;
border-top: 0px solid #DADBE3;
border-right: 0px solid #DADBE3;
border-left: 0px solid #DADBE3;
}
.igrby {font-family: "宋体";
font-size: 9pt;
color: #000000;
background:#ffffff;
font-weight: normal;
border-bottom: 0px solid #D7E0EC;
border-top: 0px solid #DADBE3;
border-right: 0px solid #DADBE3;
border-left: 0px solid #DADBE3;
}

.tabborder {
  border:1px solid #ffffff;
}
.writetd {
  text-align:left;
padding:6px;

}
ul {width:100%;height:100%;} 
li {float:left; height:63px;text-align:center;line-height:62px;} 
li.b {border-bottom:1px solid #000;width:18%;border-right:1px solid #000; float:left } 
li.zhongjian {border-bottom:1px solid #000; width:62%; border-right:1px solid #000; }
li.you {
border-bottom:1px solid #000;
width:20%;

  </style>
<table border="0" cellpadding="0" cellspacing="0" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" width="100%">
<tbody>
<tr>
<td align="middle" height="42" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px">
<font size="+1"><strong>员工离职审批单</strong></font></td>
</tr>
</tbody>
</table>
<table align="center" border="1" bordercolor="#666666" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="95%">
<tbody>
<tr>
<td bgcolor="#ffffff" colspan="2" style="text-align: center">
公文标题</td>
<td bgcolor="#ffffff" class="writetd" colspan="6">
<input name="文件标题" size="40" /><span style="color: #8b4513">(例:生产部张三的离职申请)</span></td>
</tr>
<tr>
<td class="writetd" style="text-align: center">
姓名</td>
<td class="writetd">
&nbsp;<input id="3698" name="姓名" size="10" style="width: 70px; height: 18px" /></td>
<td class="writetd" style="text-align: center">
部门</td>
<td class="writetd">
&nbsp;<input id="3699" name="部门" size="10" style="width: 70px; height: 18px" /></td>
<td class="writetd" style="text-align: center">
入职日期</td>
<td class="writetd">
&nbsp;<input id="3700" name="入职日期" size="10" style="width: 70px; height: 18px" /></td>
<td class="writetd" style="text-a