摘要: 阅读全文
posted @ 2014-05-19 11:35 BloggerSb 阅读(247) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> function stop() { return false; } document.oncontextmenu = stop; document.onselectstart = stop; document.oncopy = stop 阅读全文
posted @ 2014-05-19 10:54 BloggerSb 阅读(239) 评论(0) 推荐(0)
摘要: Convert.ToDateTime(dt.Rows[i]["inDate"]).ToString() 显示为2014/05/01 05:48:09Convert.ToDateTime(dt.Rows[i]["inDate"]).ToLongDateString() 显示为2014年05月01日Co 阅读全文
posted @ 2014-05-19 10:49 BloggerSb 阅读(1752) 评论(0) 推荐(0)
摘要: 例一: 在网站要目录下添加ValidateCode.aspx,路径自己定。 ValidateCode.aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ValidateCode.aspx.cs" Inherits="Valid 阅读全文
posted @ 2014-05-19 10:41 BloggerSb 阅读(265) 评论(0) 推荐(0)
摘要: CSS3中的过渡Transition有四个中心属性:transition-property、transition-duration、transition-delay和transition-timing1、transition-property的语法[css] transition-property... 阅读全文
posted @ 2014-05-19 10:27 BloggerSb 阅读(253) 评论(0) 推荐(0)
摘要: transform:rotate旋转deg #box1{ -moz-transform:rotate(10deg); -webkit-transform:rotate(10deg); }transform:skew倾斜 #box2{ -mo... 阅读全文
posted @ 2014-05-19 10:20 BloggerSb 阅读(363) 评论(0) 推荐(0)
摘要: 常这样去定义一个渐变的div:渐变1:(双色)background: -moz-linear-gradient(top, #456d6c 0%, #32b66a 100%); /*适合 FF3.6+*/ background: -webkit-gradient(linear, left top, l... 阅读全文
posted @ 2014-05-19 10:14 BloggerSb 阅读(238) 评论(0) 推荐(0)
摘要: CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper 页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 中间内容:center导航导航:nav 导航:mainba... 阅读全文
posted @ 2014-05-19 09:46 BloggerSb 阅读(184) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2014-05-19 09:43 BloggerSb 阅读(567) 评论(0) 推荐(0)
摘要: 样式定义:#ContactAbout { height: auto; position: relative; overflow: hidden; }#sectioncontact { display: block; width: 100%; position: relative; height: 7... 阅读全文
posted @ 2014-05-19 09:41 BloggerSb 阅读(402) 评论(0) 推荐(0)
摘要: /*=======================翻页样式===========================*/.pages { width: 660px; text-align: center; font-size: 14px; float: left; margin-left: 340px;... 阅读全文
posted @ 2014-05-19 09:30 BloggerSb 阅读(580) 评论(0) 推荐(0)
摘要: 一、快速查找文件 如果你使用过Sublime,那么你会知道’Go to anything’的强大。没错,Chrome现在也有了这一功能。 操作如下: 1、F12打开你的Chrome调试器; 2、按下Ctrl+P(Mac上Cmd + P); 3、搜索你想打开的文件名即可。 二、在源代码中搜索 但是,如 阅读全文
posted @ 2014-05-19 09:26 BloggerSb 阅读(271) 评论(0) 推荐(0)
摘要: .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:... 阅读全文
posted @ 2014-05-19 09:25 BloggerSb 阅读(243) 评论(0) 推荐(0)
摘要: /*==========限制图片大小======避免页面撑暴========*/img { max-width:100%;width:expression(width>669?"100%":width+"px");}--说明 .content img { max-width:100%;width:e... 阅读全文
posted @ 2014-05-19 09:23 BloggerSb 阅读(528) 评论(0) 推荐(0)
摘要: @import url("global.css"); 阅读全文
posted @ 2014-05-19 09:21 BloggerSb 阅读(320) 评论(0) 推荐(0)
摘要: for ie:direction 阴影角度 0°为从下往上 顺时针方向strength 阴影段长度-moz-box-shadow: 2px 2px 10px #909090;-webkit-box-shadow: 2px 2px 10px #909090;box-shadow:2px 2px 10p... 阅读全文
posted @ 2014-05-19 09:20 BloggerSb 阅读(343) 评论(0) 推荐(0)
摘要: css圆角矩形 -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; 去掉空格 white-space:nowrap; 阅读全文
posted @ 2014-05-19 09:18 BloggerSb 阅读(403) 评论(0) 推荐(0)
摘要: @font-face { font-family: 华文隶书; src: url( ../font/STLITI.eot ); /* IE */ src: url( ../font/STLITI.ttf ) format("truetype"); /* 非IE */ }... 阅读全文
posted @ 2014-05-19 09:14 BloggerSb 阅读(348) 评论(0) 推荐(0)