【发布时间】:2010-02-15 09:15:28
【问题描述】:
我想在表格的单元格中将文本框向右对齐。它在 Firefox 中工作,但在 Internet Explorer 文本框中有点向下,即它不像在 Firefox 中那样完美。
<tr>
<td id="searchRow">
<img id="imag"><a href="adminLogin.php" >Admin Login</a>
<div style="float: right;text-align: right;">Search : <input type="text" id="search" name="search" onkeypress="return checkEnter(event)"/>
</div>
</td>
</tr>
上面是我使用的代码。我希望管理员登录位于左侧并搜索:文本框位于右侧。
【问题讨论】:
-
也许接受一些答案是个好主意。否则,有些人可能不会回复您。
标签: html layout stylesheet