<tr height="35" align="center">
<td width="18%">1</td>
<td width="18%">2 </td>
<td width="18%">3</td>
<td width="18%">4</td>
</tr>
</table>
将表格间间距调整为0即可
这样可以不?
完全用表格制作而成,具体实现代码如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/htmlcharset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<table align="center" cellspacing="0" cellpadding="0" >
<tr>
<td width="120" height="100" style="border-top:noneborder-left:noneborder-right:1px solid blackborder-bottom:1px solid black">
</td>
<td width="580" height="100" style="border-top:noneborder-right:noneborder-bottom:1px solid blackline-height:24pxfont-family:'楷体'font-size:28px"align="center">
如梦令
</td>
</tr>
<tr>
<td width="120" height="750" style="border-bottom:noneborder-left:noneborder-right:1px solid black"></td>
<td width="580" height="750" style="border-bottom:noneborder-right:noneposition:relative" align="center">
<p style="width:200pxheight:200pxposition:absolutetop:40pxleft:190pxline-height:24pxfont-family:'楷体'font-size:16px">昨夜雨疏风骤,<br/>浓睡不消残酒。<br/>试问卷帘人,<br/>却道海棠依旧。<br/>知否?知否?<br/>应是绿肥红瘦。</p>
</td>
</tr>
</table>
</body>
</html>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)