摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Data; using System.Configuration; namespace cookiescontrol { /// summary /// Cookie操作 阅读全文
摘要:
htmlheadtitle纯CSS实现圆角效果/titlestyle type="text/CSS" div.RoundedCorner{background: #9bd1fa}b.rtop, b.rbottom{display:block;background: #fff}b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #9bd1fa}b.r1{margin: 0 5px}b.r2{margin: 0 3px}b.r3{margin: 0 2px}b.rtop b. 阅读全文
摘要:
网上找了很多,不实用,要不兼容问题,这个可以!input禁止键盘及中文输入,但又不能用readonly 而且还需兼容ie 和 ff , 为了完成这功能费了蛮大功夫,呵呵,在此记录以便日后之用;另外禁止粘贴 onpaste="return false"view plainprint?!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN" HTMLHEADTITLENewDocument/TITLEscript//样式style="ime-mode:disabled"禁止中文输入functionnoPermitInp 阅读全文