|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
表格裡的圖片對不齊
為什麼,我這個左邊第一個小圓點不能和其它小圓點一樣,靠齊底端?
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>*_**_*</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll=no>
<table width="600" height="100%" border="0" align="center" valign="middle" cellpadding="0" cellspacing="0" >
<tr>
<td height="100%" align="center" valign="middle"><table width="100%" height="0%" border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#3a4154">
<tr>
<td width="601" height="50" align="center" bordercolor="#3a4154"><table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top" bgcolor="#29beff"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="69%" align="center" valign="middle" bordercolor="#3a4154" bgcolor="0" frame=void><table width="100%" height="270" border="0" cellpadding="0" cellspacing="0" bordercolor="#3a4154">
<tr>
<td height="270"><table width="600" height="270" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="280" height="270"><table width="100%" height="270" border="0" cellpadding="0" cellspacing="0" bordercolor="#3a4154">
<tr>
<td width="300" height="270" ><table width="100%" height="269" border="1" cellpadding="0" cellspacing="0" bordercolor="#3a4154">
<tr>
<td width="37%" height="170" rowspan="2" valign="bottom" bgcolor="#73Beff" frame=rhs ><div align="left" ><img src="" width="10" height="10" >
</div>
<td height="100" colspan="2" valign="bottom" bgcolor="#0661c6">
<p align="right"><img src="dot.gif" width="10" height="10"></p></td>
</tr>
<tr>
<td width="25%" height="70" valign="bottom"><div align="left"><img src="dot.gif" width="10" height="10"></div></td>
<td width="38%" height="170" rowspan="2" valign="bottom" bordercolor="#3a4154" bgcolor="#2196ff">
<p align="right"><img src="dot.gif" width="10" height="10"></p></td>
</tr>
<tr>
<td height="100" colspan="2" valign="bottom" bgcolor="#306994">
<p align="right"><img src="dot.gif" width="10" height="10"></p></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="211" height="271"><table width="230" border="1" cellpadding="0" cellspacing="0" bordercolor="#3a4154">
<tr>
<td width="211" height="170" valign="bottom" bgcolor="#0061fe"><div align="left"><img src="dot.gif" width="10" height="10"></div></td>
</tr>
<tr>
<td width="230" height="100" valign="bottom" bgcolor="#73beff"><div align="right"><img src="dot.gif" width="10" height="10"></div></td>
</tr>
</table></td>
<td width="90" height="270"><table width="90" border="1" cellpadding="0" cellspacing="0" bordercolor="#3a4154">
<tr>
<td width="90" height="130" valign="bottom" bgcolor="#29beff"><img src="dot.gif" width="10" height="10"></td>
</tr>
<tr>
<td width="90" height="140" valign="bottom" bgcolor="#6486b4"><div align="right"><img src="dot.gif" width="10" height="10"></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="22%" align="center" valign="middle" frame=below bordercolor="#3a4154" bgcolor="#0099ff">
<p> </p>
<p> </p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
[/html] |
你的代碼中間有空格導致的。:
[html]
<div align="left" ><img src="" width="10" height="10" >
</div>
[/html]
改成:
[html]
<div align="left" ><img src="" width="10" height="10" ></div>
[/html] |
謝謝無頭版主。原來空格也可以佔空間,我以為 才佔空間。 |
|