jsp中bean和input对齐问题

来源:百度知道 编辑:UC知道 时间:2024/06/09 00:27:02
<center/><br/>
<bean:message key="a.title" bundle="bundle" />
<input type="text" readonly maxlength="50" size="20" value=""/>
</center>
以上使得标题和文本框分两行,中间对齐
现在我想改成在标题和文本框在一排,而且在一行的中间,如何改?
谢谢

<center/><br/>
<bean:message key="a.title" bundle="bundle" />
<p>
<input type="text" readonly maxlength="50" size="20" value=""/>
</center>
这个才是两行,你上面哪个是一行的:)

不行就table定位算了