This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="javascript: void(0);"></a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>表单label样式</title> | |
</head> | |
<style> | |
form{ | |
width:400px; | |
margin: 20px auto; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script type="text/javascript"> | |
// html5shiv MIT @rem remysharp.com/html5-enabling-script | |
// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector | |
/*@cc_on(function(a,b){function r(a){var b=-1;while(++b<f)a.createElement(e[b])}if(!(!window.attachEvent||!b.createStyleSheet||!function(){var a=document.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}())){a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^\s*[\{\}]\s*$/,j=new RegExp("(^|[^\\n]*?\\s)("+d+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=l.firstChild,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){if(a+""===undefined)return"";var d=-1,e=a.length,f,g=[];while(++d<e){f=a[d];if(f.di |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
/* | |
@名称: base | |
@功能: 重设浏览器默认样式 | |
@例子: null | |
*/ | |
/* 防止用户自定义背景颜色对网页的影响 */ | |
html{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 对于:first-of-type伪类的使用 | |
* IE8及以下浏览器不兼容该伪类 | |
* 为了兼容IE6\7\8而去添加了一个.first这段代码,那:first-of-type还有意义吗? | |
*/ | |
table tr:first-of-type th { /* Others */ | |
background-image: url(/img/data_sheet_tr_bg.png); | |
background-repeat: repeat-x; | |
height: 31px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul>li>a[href="javascript:void(0);"]+ul>li*2>a[href="javascript:void(0);"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* For modern browsers */ | |
.cf:before, | |
.cf:after { | |
content:""; | |
display:block; | |
} | |
.cf:after { | |
clear:both; | |
} | |
/* For IE 6/7 (trigger hasLayout) */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Minify.css.php?f=style.css | |
<?php | |
//重定义header | |
ob_start ("ob_gzhandler"); | |
header("Content-type: text/css; charset=UTF-8"); | |
header("Cache-Control: must-revalidate"); | |
$offset = 60 * 60 ; | |
$ExpStr = "Expires: " . | |
gmdate("D, d M Y H:i:s", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('#myElement').length > 0) { | |
// it exists | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.data-sheet tr:first-of-type th.selected { /* Others */ | |
background-image: url(/img/data_sheet_th_selected_bg.png); | |
background-repeat: repeat-x; | |
height: 31px; | |
} | |
.data-sheet tr.first th.selected { /* IE6/IE7/IE8 */ | |
background-image: url(/img/data_sheet_th_selected_bg.png); | |
background-repeat: repeat-x; | |
height: 31px; | |
} |