`

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="新增" onClick="showWinInRight('info_edit_hykh.html');" />
----------------------------------------------------------------------
输入框只显示底边框:
.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="测试公告"/>

----------------------------------------------------------------------
域设置:
<fieldset >
<legend>外部公告发布</legend>
<div>
    这里加入要加的内容。。。。
</div>
</fieldset>
----------------------------------------------------------------------
  • 大小: 3.1 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics