01 2016 档案

摘要:一、为防止内容图片尺寸过大超出显示区域时,图片显示不全,必须设定内容显示区域内的图片最大显示尺寸为100%;.content img{max-width:100%;}二、为防止文字多时布局出错,最好设定a{overflow: hidden;white-space: nowrap;text-overf... 阅读全文
posted @ 2016-01-20 17:56 吖然-jronny 阅读(161) 评论(0) 推荐(0)
摘要:输入域名之后默认首页跳转到其他链接去1 string url = HttpContext.Current.Request.RawUrl.ToString();2 if (url == "/")3 {4 HttpContext.Current.Response.Redirect("要跳转的链接... 阅读全文
posted @ 2016-01-19 15:12 吖然-jronny 阅读(296) 评论(0) 推荐(0)
摘要:1、需登录之后才能查看的页面,首先判断是否登录,未登录时去到登录页面,参数formUrl的值是登录前要去到的链接1 if(!IsUserLogin()){2 string hostAndPort = HttpContext.Current.Request.Url.AbsoluteUr... 阅读全文
posted @ 2016-01-18 23:01 吖然-jronny 阅读(596) 评论(0) 推荐(0)