如何使用Css对齐文本和文本字段 [英] How Do I Align Text And Textfield Using Css

查看:83
本文介绍了如何使用Css对齐文本和文本字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<html>
<body>
<!--Date: <input type="text" name="name" value="<?php //echo "Today is " . date("Y/m/d") ; ?>">-->
<style type="text/css">
	
</style>


<center>
<form class="myForm" action="collection.php" method="post">
       	<div class="1">
        <label> Control Number <input type="text" name="collect_or" required > </label> 
        <label> Member <input type="text"  name="collect_member" required></input></label>
        <label> Booklet <input type="text" name="collect_booklet" required></input></label>
        </div><br>
      
      	<div class="2">	
        <label>AR Loan  <input type="text" name="collect_ar_loan"></input></label>
        <label> CBU <input type="select"   name="collect_cbu"> </label>
        <label> Other <input type="select" name="collect_other" > </label> 
        </div><br> 
  
        <div class="3">
        <label> MF <input type="select" name="collect_mf" > </label> 
        <label>Amount <input type="text" name="collect_amount"  /></label>
        <button type="reset" >Reset</button>
        <button type="submit" name="submit" >Submit</button>
   		</div>	
        

        </center>


</body>
</html>

推荐答案

让我为你辩护 [ ^ ]


这篇关于如何使用Css对齐文本和文本字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆