經(jīng)典 用CSS實(shí)現(xiàn)表單form布局_Web標(biāo)準(zhǔn)教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
以下為引用的內(nèi)容:
<style type="text/css">
label{
float: left;
width: 80px;
}
form{margin:0px}
input{
width: 180px;
border:1px solid #808080
}
textarea{
width: 250px;
height: 150px;
}
#sbutton{
margin-left: 80px;
margin-top: 5px;
width:80px;
}
br{
clear: left;
}
</style>
<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 />
<label for="comment">備注:</label>
<textarea id=comment name="comment">
</textarea>
<br />
<input type="submit" id="sbutton" value="確定" /><br />
</form>
相關(guān)Web標(biāo)準(zhǔn)教程:
- Web標(biāo)準(zhǔn):需要正確的使用H1~ H6標(biāo)簽
- 五個(gè)WEB標(biāo)準(zhǔn)中必須注意的地方
- 做到結(jié)構(gòu)(XHTML),表現(xiàn)(CSS),行為(JavaScript)的分離
- CSS標(biāo)準(zhǔn):HTML標(biāo)簽元素的關(guān)閉
- Web標(biāo)準(zhǔn)之路 勿使用W3C廢棄的元素
- CSS布局 聲明文檔類型描述(DTD)
- DIV CSS\讓搜索引擎蜘蛛不再累
- 用XHTML+CSS創(chuàng)建基于Web標(biāo)準(zhǔn)的網(wǎng)頁
- XHTML+CSS創(chuàng)建基于Web標(biāo)準(zhǔn)的網(wǎng)站
- DIV+CSS對(duì)SEO的幫助
- 淺析什么是Web標(biāo)準(zhǔn) 及其前景
- CSSer新手寄語:開始標(biāo)準(zhǔn)之路
Web標(biāo)準(zhǔn)教程Rss訂閱Div+Css教程搜索
Web標(biāo)準(zhǔn)教程推薦
- CSS網(wǎng)友:關(guān)于WEB標(biāo)準(zhǔn)化過程中的語義化描述!
- 初學(xué)web標(biāo)準(zhǔn)的幾個(gè)誤區(qū)
- Web設(shè)計(jì)用戶體驗(yàn)淺析
- 珍藏版:不可或缺的腳本代碼
- WEB2.0標(biāo)準(zhǔn)教程:第三天 定義語言編碼
- css布局實(shí)例:網(wǎng)頁布局的方法
- Webdevelopmentmistakes-web設(shè)計(jì)與開發(fā)常見錯(cuò)誤
- Web標(biāo)準(zhǔn):需要正確的使用H1~ H6標(biāo)簽
- CSS盒模型制定寬度和高度的原理
- CSS網(wǎng)頁布局中ID與Class的理解
猜你也喜歡看這些
- 解決IE7以下版本不支持無A狀態(tài)偽類的幾種方法!
- 關(guān)于DIVCSS浮動(dòng)float的兼容
- IE7beta2的CSS兼容性
- XHTML1.0、XHTML Basic、XHTML1.1及XHTML2.0區(qū)別
- 解決IE和Mozilla的布局差別的利器:“!important”
- text-overflow:ellipsis非IE的瀏覽器的另類應(yīng)用!
- CSS hack瀏覽器兼容一覽表
- 最常用的10種CSS BUG解決方法與技巧
- 區(qū)分IE6,IE7和firefox的CSS hack
- CSS調(diào)試工具M(jìn)ultipleIE-IE5IE6IE7多版本共存
- 相關(guān)鏈接:
- 教程說明:
Web標(biāo)準(zhǔn)教程-經(jīng)典 用CSS實(shí)現(xiàn)表單form布局。