日期:2014-05-17  浏览次数:20542 次

帮我完成下html的简单布局
<body>
<div id="goods">
<form name="myform" method="post" action="ingoods.php?action=myform" target="_self">
 
<h1>添加商品</h1>
 
<p>
<b class="good">商品名称:</b>
<b><input type="text" name="commodity_name" id="commodit_name" size="60" maxlength="100" class="txt"/> *</b>
</p>

<p>
<b class="good">出 售 地:</b>
<b><input type="text" name="Sale_Address" id="Sale_Address" size="60" maxlength="100" class="txt"/></b>
</p>

<p>
<b class="good">出 售 商:</b>
<b><input type="text" name="Seller" id="Seller" size="60" maxlength="100" class="txt"/></b>
</p>

<p>
<b class="good">生 产 地:</b>
<b><input type="text" name="Production_Address" id="Production_Address" size="60" maxlength="100" class="txt"/></b>
</p>

<p>
<b class="good">生 产 厂 家:</b>
<b><input type="text" name="Company" id="Company" size="60" maxlength="100" class="txt"/> *</b>
</p>

<p>
<b class="good">生产许可证号:</b>
<b><input type="text" name="permit_number" id="permit_number" size="60" maxlength="100" class="txt"/> *</b>
</p>

<p>
<b>更多详细信息:</b></p>
<p>
<b></b><textarea rows="15" cols="46" name="content" id="content"> 
  </textarea>
  </p>
   
  <p>
  <b><input type="submit" name="submit" class="submit" id="submit" value="添加" onclick="return check()"/>
  </b></p>
 </form>
 </div>
</body>

我希望class="good"对应的汉子右对齐,并且要保证显示在输入主键<input type="text" />左边。还要求<input type="text" />能够上下对齐,也就是上下看起来工整。要求用css
谁能帮我解决下,谢谢谢

------解决方案--------------------
建议去CSS板块看看