摘要:
1.在页面aspx中<%@ Page ValidateRequest="false" >2.在controller中action添加。[ValidateInput(false)]public ActionResult Edit(){this.ValidateRequest = false;retrun View();}3.在网站web.config<system.web> <httpRuntime requestValidationMode="2.0" /> </system.web>在.net 4.0 环 阅读全文
随笔档案-2010年12月
div ul li 加a 错位问题
2010-12-08 10:35 by Lecone.JY.HU, 1044 阅读, 收藏, 编辑
摘要:
在li 中包含的元素,切内容是中文和字母交杂的状况下页面排版错位。造成这个原因有两点
1.li{ float:left}没设置。
2.中文和字母交杂时没有定义li的高度。 阅读全文