reset.css
2010-12-07 18:58
309 查看
今天看了下jquery的官网(http://jquery.com/),看到了reset.css的链接(http://static.jquery.com/files/rocker/css/reset.css),挺不错的,决定以后用这个。具体代码如下:
/* http://meyerweb.com/eric/tools/css/reset/ */ /* v1.0 | 20080212 */ 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; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: 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; }
相关文章推荐
- reset.css
- Eric Meyer’s CSS Reset
- 目前比较全的CSS重设(reset)方法总结
- 描述下 “reset” CSS 文件的作用和使用它的好处。
- CSS Tools: Reset CSS
- reset.css
- css重置样式表reset.css
- 目前比较全的CSS重设(reset)方法总结
- reset.css、layout.css
- 打造自己的reset.css
- reset.css
- 目前比较全的CSS重设(reset)方法总结(详细,可忽略)
- reset.css
- 【转】WEB标准之CSS: 打造自己的reset.css
- 描述下 “reset” CSS 文件的作用和使用它的好处。
- 关于css 的reset
- 关于样式重置reset.css
- CSS Tools: Reset CSS
- A Killer Collection of Global CSS Reset Styles
- CSS Reset / Normalize 如何进行样式重置