自定义网页reset样式
此css是根据Eric_reset和YUI_reset修改合并而得:
@charset "utf-8"; /*--------------------------------- * Title:CSS_Reset * version:reset.css * Updated:2012.12.10 * Updated by: BY ---------------------------------*/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td { margin:0; padding:0; } body,button,input,select,textarea { color: #4D4D4D; font:12px/1.5 Geneva,Arial,Helvetica,sans-serif; /*font:12px/1.6 "Microsoft Yahei","Tahoma","SimSun";*/ } a { text-decoration:none; color:#333; } a:hover { text-decoration:underline; color:#900; } table { border-collapse:collapse; border-spacing:0; } fieldset,img { border:0; } ol,ul { list-style:none; } input,textarea,select { font-family:inherit; font-size:inherit; font-weight:inherit; } input,textarea,select { *font-size:100%; } textarea,select{ border:1px solid #C7C7C7; padding:2px; } textarea{ overflow:auto; resize:none; } caption,th { text-align:left; } legend { color:#000; } sup { vertical-align:text-top; } sub { vertical-align:text-bottom; } address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; } h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; } abbr,acronym { border:0; font-variant:normal; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }