/* vim: set et sw=4 ts=4 sts=4 fdm=marker ff=unix fenc=utf8 */ /** * CSS 重置样式 * * 重置主流浏览器默认样式,参考 YUI 以及 Blueprint * * @author i.feelinglucky@gmail.com * @link http://www.gracecode.com/ * @version $Id: reset.source.css 470 2008-09-26 15:23:38Z i.feelinglucky $ */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0em; padding: 0em; border: 0em; font-weight: inherit; font-style: inherit; font-family: inherit; vertical-align: baseline; outline-style: none; outline-width: none; } h1 { font-size: 200%; } h2 { font-size: 180%; } h3 { font-size: 160%; } h4 { font-size: 140%; } h5 { font-size: 120%; } h6, p { font-size: 100%; } body { line-height: 1.5; } table { border-collapse: separate; border-spacing: 0; } caption, th, td { text-align: left; font-weight: normal; } table, td, th { vertical-align: middle; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } a img { border: none; outline: none; }