RSS
热门关键字:  idc 下载  Java  idc+下载  idc  域名
当前位置 :| 主页>网页制作>css>

用CSS实现表单form布局

来源:商务互联 作者:责编 时间:2008-04-23 点击:
以下为引用的内容:
<style type="text/css">

label{
float: left;
width: 80px;
}
form{margin:0px}
input{
width: 180px;
border:1px solid #808080
}
字串6

textarea{
width: 250px;
height: 150px;
}
 

#sbutton{
margin-left: 80px;
margin-top: 5px;
width:80px;
}

 

br{
clear: left;
}
字串2

</style> 字串6

<form action="" method="post">

<label for="user">姓名:</label>
<input type="text" id=user name="user" value="" /><br />

 

<label for="email">邮件:</label>
<input type="text" id=email name="email" value="" /><br />
字串2

<label for="comment">备注:</label>
<textarea id=comment name="comment">
</textarea>
<br />

 

<input type="submit" id="sbutton" value="确定" /><br /> 字串2

</form>

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
栏目列表