jiangkan12 发表于 2013-2-7 18:31:40

JS小技巧

让按钮的背景透明,加图片:
.button_new {
padding-left:16px;
background:transparent url(../image/tbtn_new.gif) no-repeat scroll 0 0px !important;
}
html中应用:
<input name="add" class="button_new" type="button" value="新增"/>
----------------------------------------------------------------------
输入框只显示底边框:
.textEditUnderLine{
border-left:none;
border-right:none;
border-top:none;
border-bottom:1 solid #97C5DF;
background-color:#F1F1F1;
color:#6666ff;
}
html中应用:
<input name="titleTxt" class="textEditUnderLine text" style="width:350px;" value="测试公告"/>
http://dl.iteye.com/upload/attachment/159847/577d9925-7639-36ad-91de-240e5bcdf53e.png
----------------------------------------------------------------------
域设置:
<fieldset >
<legend>外部公告发布</legend>
<div>
    这里加入要加的内容。。。。
</div>
</fieldset>
----------------------------------------------------------------------
页: [1]
查看完整版本: JS小技巧