05 2014 档案
摘要:<script type="text/javascript"> function stop() { return false; } document.oncontextmenu = stop; document.onselectstart = stop; document.oncopy = stop
阅读全文
摘要:Convert.ToDateTime(dt.Rows[i]["inDate"]).ToString() 显示为2014/05/01 05:48:09Convert.ToDateTime(dt.Rows[i]["inDate"]).ToLongDateString() 显示为2014年05月01日Co
阅读全文
摘要:例一: 在网站要目录下添加ValidateCode.aspx,路径自己定。 ValidateCode.aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ValidateCode.aspx.cs" Inherits="Valid
阅读全文
摘要:CSS3中的过渡Transition有四个中心属性:transition-property、transition-duration、transition-delay和transition-timing1、transition-property的语法[css] transition-property...
阅读全文
摘要:transform:rotate旋转deg #box1{ -moz-transform:rotate(10deg); -webkit-transform:rotate(10deg); }transform:skew倾斜 #box2{ -mo...
阅读全文
摘要:常这样去定义一个渐变的div:渐变1:(双色)background: -moz-linear-gradient(top, #456d6c 0%, #32b66a 100%); /*适合 FF3.6+*/ background: -webkit-gradient(linear, left top, l...
阅读全文
摘要:CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper 页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 中间内容:center导航导航:nav 导航:mainba...
阅读全文
摘要:css的img移上去边框效果: .v_comment img{ height:36px; height:36px; float:left; padding:1px; margin:2px; border: 1px solid #ddd; }.v_comment img:hover{border: 1
阅读全文
摘要:样式定义:#ContactAbout { height: auto; position: relative; overflow: hidden; }#sectioncontact { display: block; width: 100%; position: relative; height: 7...
阅读全文
摘要:/*=======================翻页样式===========================*/.pages { width: 660px; text-align: center; font-size: 14px; float: left; margin-left: 340px;...
阅读全文
摘要:一、快速查找文件 如果你使用过Sublime,那么你会知道’Go to anything’的强大。没错,Chrome现在也有了这一功能。 操作如下: 1、F12打开你的Chrome调试器; 2、按下Ctrl+P(Mac上Cmd + P); 3、搜索你想打开的文件名即可。 二、在源代码中搜索 但是,如
阅读全文
摘要:.tips:before { content: ''; border: 26px solid; border-color: #333; border-color: rgba(255,255,255,0); border-top-color: rgba(0,172,198,.8); position:...
阅读全文
摘要:/*==========限制图片大小======避免页面撑暴========*/img { max-width:100%;width:expression(width>669?"100%":width+"px");}--说明 .content img { max-width:100%;width:e...
阅读全文
摘要:@import url("global.css");
阅读全文
摘要:for ie:direction 阴影角度 0°为从下往上 顺时针方向strength 阴影段长度-moz-box-shadow: 2px 2px 10px #909090;-webkit-box-shadow: 2px 2px 10px #909090;box-shadow:2px 2px 10p...
阅读全文
摘要:css圆角矩形 -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; 去掉空格 white-space:nowrap;
阅读全文
摘要:@font-face { font-family: 华文隶书; src: url( ../font/STLITI.eot ); /* IE */ src: url( ../font/STLITI.ttf ) format("truetype"); /* 非IE */ }...
阅读全文
摘要:下载地址:http://kindeditor.net/down.php 解压放在项目要目录下, 在Bin目录下添加引用:LitJSON.dll 在页面头部加: 页面内容: 后台代码: protected void btnSend_Click(object sender, EventArgs e) {
阅读全文
摘要:进入FCKeditor文件夹,编辑 fckconfig.js 文件。1、上传设置 。 var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py var _QuickUploadLanguage =
阅读全文
摘要:页面前面: 要引入的样式: 说明一下,应该是我把这个放在控件Head里,所以引入页面的时候, protected void Button1_Click(object sender, EventArgs e) { string name = t_LogName.Value.Trim(); string
阅读全文
摘要:首先在aspx.cs文件里建一个公开的静态方法,然后加上WebMethod属性。 如: [WebMethod] public static string GetUserName() { //...... } 如果要在这个方法里操作session,那还得将WebMethod的EnableSession
阅读全文
摘要:MultiView 控件是一组 View 控件的容器。使用它可定义一组 View 控件,其中每个 View 控件都包含子控件。 用 ActiveViewIndex 属性或SetActiveView 方法定义活动视图。如果 ActiveViewIndex 属性为空,则 MultiView 控件不向客户
阅读全文