|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
請教關於表格。
幫朋友做個網站。不知道為什麼表格的高度不能調小。在DW的屬性裡面把表格高度調小,沒反應。直接用鼠標拉也不行。請教高手,怎麼才能把表格拉小一點呢。查看了代碼,裡面沒有<br> |
代碼呢,貼出來看看
貼出你要調整的表格代碼就可以了 |
<table width="765" height="52" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="22" height="52"><img src="images/1_r5_c1.gif" width="128" height="29"></td>
<td width="500">
<% If session("username")="" Then %>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="checklogin.asp">
<tr>
<td>會員ID:
<input name="login_name" type="text" id="login_name" style="border:1px double rgb(88,88,88);font:9pt" size="10">
</td>
<td>會員密碼:
<input name="password" type="password" id="password" style="border:1px double rgb(88,88,88);font:9pt" size="10">
</td>
<td> <input name="Submit" type="image" value="Submit" src="images/go.gif">
</td>
</tr>
</form>
</table>
<%else response.Write " <a href='member/member_main.asp'>"&session("username")&"歡迎你登陸</a> <a href='loginout.asp'>退出登陸</a>" end if %>
</td>
<td width="274"> <table width="64%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="40%"><a href="reg.asp"><img src="images/reg.gif" width="89" height="23" border="0"></a></td>
<td width="60%"><a href="askpassword.asp"><img src="images/nopasswrod.gif" width="88" height="23" border="0"></a></td>
</tr>
</table>
<div align="right"></div></td>
</tr>
</table> |
把倒數第三行的
<div align="right"></div>
去掉 |
如果想文字右對齊,直接在TD裡面使用align=right就可以了,不需要使用div align=right的, |
|