<table cellspacing="1" cellpadding="3" border="0" width="95%" style="background-color: #D3D3D3" >
<tr>
<th class="title_background_color" colspan="6">请确认邮寄地址</th>
</tr>
<tr>
<td class="title_background_color">收件人</td>
<td class="cell_background_color"><input type="text" id="addressee" name="addressee" value=""/></td>
</tr>
<tr>
<td class="title_background_color">邮寄地址</td>
<td class="cell_background_color">
  
<span id="provinceCity"  value="辽宁省大连"></span>
  <input type="hidden" id="cityProvince"  name="cityProvince" value=""  />
<input type="text" id="address" name="address" value="" />

</td>
</tr>
<tr>
<td class="title_background_color">邮政编码</td>
<td class="cell_background_color"><input type="text" id="zipCode" name="zipCode" value=""/></td>
</tr>
</table>
<div class="contentTd_0">
        <table>怎么控制才能让三个文本框上下对齐?并且辽宁省大连还是处于跟第二个文本框在行上

解决方案 »

  1.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body>
    <table cellspacing="1" cellpadding="3" border="0" width="95%" style="background-color: #D3D3D3" >
    <tr>
    <th class="title_background_color" colspan="6">请确认邮寄地址</th>
    </tr>
    <tr>
    <td class="title_background_color">收件人</td>
    <td class="cell_background_color"><input type="text" id="addressee" name="addressee" value=""/></td>
    </tr>
    <tr>
    <td class="title_background_color">邮寄地址</td>
    <td class="cell_background_color" align="left">
     
    <span id="provinceCity" value="辽宁省大连"></span><input type="text" id="address" name="address" value="" />
    <input type="hidden" id="cityProvince" name="cityProvince" value="" />
    </td>
    </tr>
    <tr>
    <td class="title_background_color">邮政编码</td>
    <td class="cell_background_color"><input type="text" id="zipCode" name="zipCode" value=""/></td>
    </tr>
    </table>
    <div class="contentTd_0">
      <table>
    </body>
    </html>
      

  2.   

    装个dreamver,将jsp拉入dreamver中,用拖拽图形的方式调整
      

  3.   

    恩,楼上说的不错,用dreamweaver做这个是很容易的