<body>
<form >
<table align="center" border="1">
<tr><TD align="right" width=120 height=15>留言主题</TD><td><input type="text" name="zhuti" height=15 width=120></td></tr>
<tr><TD align="right" width=120 height=60>留言内容</TD><td><input type="text" name="neirong" height=60 width=120></td></tr>
<tr><td align="center" width=120 height=15 colspan="2"><input type="submit" name="submit" value="提交" height=15 width=120></td></tr>
</table>
</form>
</body>
align="center" 怎么没让 提交 按钮 居中?该怎么做?
ASP 用了rowspan后,怎么居中?
答案:2 悬赏:70
解决时间 2021-03-03 03:21
- 提问者网友:她是我的お女人
- 2021-03-02 05:28
最佳答案
- 二级知识专家网友:转身后的回眸
- 2021-03-02 06:21
将<td align="center" width=120 height=15 colspan="2">改成
<td align="center" height=15 colspan="2">
你想啊这列的宽度已经被定为120了,它的居中当然只能那个效果了
<td align="center" height=15 colspan="2">
你想啊这列的宽度已经被定为120了,它的居中当然只能那个效果了
全部回答
- 1楼网友:虚伪的现实
- 2021-03-02 07:26
<form >
<table border="1" align="center">
<tr><TD align="right" width=120 height=15>留言主题</TD><td><input type="text" name="zhuti" height=15 width=120></td></tr>
<tr><TD align="right" width=120 height=60>留言内容</TD><td><input type="text" name="neirong" height=60 width=120></td></tr>
<tr><td align="center" height=15 colspan="2"><input type="submit" name="submit" value="提交" height=15 width=120></td>
</tr>
</table>
</form>
希望对你有帮助
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯