html的buttton跳转,html中文本框,文本域,buttton的css美化

本文档详细介绍了网页样式的设计规范,包括文本域textarea、搜索框SearchBar以及按钮button的CSS样式定义。通过这些样式,可以创建具有良好用户体验的网页交互元素,如自适应高度的文本域,美观的搜索框和定制化的按钮背景。同时,代码中体现了对浏览器兼容性的考虑。
摘要由CSDN通过智能技术生成

文本域

.textArea{

margin: 10px 10px;

width: 80%;

height:150px;

padding: 1;

min-height: 120px;

max-height: 300px;

_height: 120px;

margin-left: auto;

margin-right: auto;

padding: 3px;

outline: 0;

border: 1px solid #a0b3d6;

font-size: 12px;

word-wrap: break-word;

resize:none;

overflow-x: hidden;

overflow-y: auto;

border-radius:5px;

}

文本框

.SearchBar {

font-size:12px; letter-spacing:2px;

border-bottom:1px solid #dddddd;

padding:5px 0px 3px 0px;

margin:4px 0px 4px 0px;

text-align:center;height:24px;

FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#f5f5f5', endColorStr='#eeeeee', gradientType='0');

}

button,(bg126是图片文件)

button { font-family: "Arial", "Tahoma", "微软雅黑", "雅黑"; border: 0; vertical-align: middle; margin: 8px; line-height: 18px; } .btn { width: 140px; height: 36px; line-height: 18px; font-size: 18px; background: url("../images/bg26.jpg") no-repeat left top; color: #FFF; padding-bottom: 4px } .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值