CSS 重启

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

CSS 漂浮在浮动IE6边缘错误的inherted div宽度Bug

<body>
  <div id="page">
    <div id="content" style="background-color: yellow;">
      <div id="group1573" class="cmsGroup" style="width: 50%; padding: 0%; background-color:red; display:block;">
        <!-- Bugfix for IE6 related margin width -->
     <div style="width: 100%">
        <!-- E: Bugfix -->
       <div id="cell2352" class="cmsCell" style="width: 99.6%; background-color:yellow;">
            <p>Box 1</p>
          </div>
          <div id="cell3467" class="cmsCell" style="width: 22.58%; float: left; background-color: green; margin-right: 3.09%;">
            <div>
              <p>Box 2</p>
            </div>
          </div>
          <div id="cell1574" class="cmsCell" style="width: 73.93%; background-color:#CC9966;">
            <p>Box 3</p>
          </div>
        <!-- Bugfix for IE6 related margin width -->  
        </div>
        <!-- E: Bugfix -->
   </div>
    </div>
  </div>
</body>

CSS 速度标记式突出显示

em {
    font-style: italic;
    /* color: #046380; */
    background-color: #ffc;
}

CSS 超级ie6 png修复

<!--[if lte IE 6]>
<script type="text/javascript" src="supersleight-min.js"></script>
<![endif]-->

CSS ZOZO

margin: 0px;
	padding: 0px;

	background-color: #a7a7a7;

	background-image: url(/themes/site_themes/svenigson/_data/_images/back_gradiejpg);
	background-position: center;
	background-repeat: repeat-y;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #666666;

CSS 禁用链接附近的Firefox虚线

a:focus { 
	outline: none; /* Damit Firefox keinen aktiven Rand um Links zeigt */
}

CSS 从IE-Mac隐藏CSS规则,仅显示IE-Win

/* Hide from IE5-mac. Only IE-win sees this. \*/
 
* html #floatbox {
  margin-right: 10px;
  }
 
* html p {
  height: 1%;
  margin-left: 0;
  }
 
/* End hide from IE5/mac */

CSS IE中忽略了最小高度属性

/* for understanding browsers */
.container {
	width:20em;
	padding:0.5em;
	border:1px solid #000;
	min-height:8em;
	height:auto;
}
/* for Internet Explorer */
/*\*/
* html .container {
	height: 8em;
}
/**/

CSS HTML LI图片

<style type="text/css">
ul.orangearrow li {
  list-style-image: url(http://0--0.us/0067_circular_arrow.png);
}
</style>

<ul class="orangearrow">
  <li>meat</li>
  <li>potatoes</li>
  <li>water</li>
</ul>

CSS 摆脱链接的虚线边框

a { outline: none; }