- 在线时间
- 1844 小时
- 专家
- 0
- UID
- 492298
- 注册时间
- 2008-8-21
- 帖子
- 2435
- 精华
- 0
- 积分
- 1609
- 离线
- 0 天
专长: 前端制作,Javascript编程
- 帖子
- 2435
- 体力
- 1603
- 威望
- 0
|
看了这便文章还是蛮不度的,上次收集了一些大型网站的reset
发过来给大家共享下
- 淘宝网
- /*
- html{color:#000;background:#FFF;}
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,leg
- end,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table
- {border-collapse:collapse;border-spacing:0;}fieldset,img{border:none;}
- address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-
- weight:normal;}li{list-style:none;}caption,th{text-align:left;}
- h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after
- {content:'';}abbr,acronym{border:none;font-variant:normal;}sup
- {vertical-align:text-top;}sub{vertical-align:text-bottom;}
- input,button,textarea,select{font-family:inherit;font-
- size:inherit;font-weight:inherit;}input,button,textarea,select{*font-
- size:100%;}legend{color:#000;}del,ins{text-decoration:none;}small{font
- -size:100%;}
- */
- 搜狐网
- /*
- body{font-family:'宋体';text-align:center;margin:0
- auto;padding:0;background:#FFF;font-size:12px;color:#333;}
- body > div{text-align:center;margin-right:auto;margin-left:auto;}
- div,form,ul,ol,li,span,p{margin:0;padding:0;border:0;}
- img,a img{border:0;margin:0;padding:0;}
- h1,h2,h3,h4,h5,h6{margin:0;padding:0;font-size:12px;font-
- weight:normal;}
- ul,ol,li{list-style:none}
- table,td,input{font-size:12px;padding:0}
- a{outline-style:none;color:#333;text-decoration:none}
- a:hover{color:#c00;text-decoration:underline;}
- */
- 新浪网
- /*
- body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div
- {margin:0;padding:0;border:0;}
- body{background:#fff;color:#333;font-size:12px; margin-top:5px;font-
- family:"宋体";}
- ul,ol{list-style-type:none;}
- select,input,img,select{vertical-align:middle;}
- a{text-decoration:underline;}
- a:link{color:#009;}
- a:visited{color:#800080;}
- a:hover,a:active,a:focus{color:#c00;}
- .clearit{clear:both;}
- */
- 土豆网
- */
- *{margin:0;padding:0}
- body{color:#000;background:#fff;font-size:12px; line-height:1.25;font-
- family:Tahoma,sans-serif}
- th,td{text-align:left;vertical-align:top}
- h1,h2,h3,h4,h5,h6{font-size:1em;font-weight:normal}
- p{margin:0 0 1em 0}
- blockquote{margin:0 0 1em 0}
- a{color:#000}
- * a{_font-family:Arial,sans-serif}
- a:hover{text-decoration:none}
- img{display:block;border:0}
- ul{ margin:0;padding:0;list-style:none}
- ol{padding:0 0 0 2em}
- dl,dt,dd{margin:0;padding:0}
- form{display:block}
- input,label,select,option,textarea,button,fieldset,legend{font-
- size:1em; font-family:Tahoma,sans-serif}
- input.text{color:#444;border-color:#9f9f9f #dcdcdc #dcdcdc
- #9f9f9f;border-style:solid;border-width:1px;padding:3px
- 2px;height:14px}
- input.submit{border-color:#ddd #696969 #696969 #ddd;border-
- style:solid;border-width:1px;padding:2px;height:22px}
- input.file{}
- input.radio,input.checkbox{margin-right:2px}
- *input.radio,input.checkbox{*margin:-2px 2px -2px -2px}
- *input[type=radio],input[type=checkbox],x:-moz-any-link,x:default
- {vertical-align:-3px}
- *input.radio,input.checkbox{*vertical-align:-2px}
- input.image{}
- label.radio,label.checkbox{margin-right:5px}
- select{}
- option{}
- textarea{border-color:#9f9f9f #dcdcdc #dcdcdc #9f9f9f;border-
- style:solid;border-width:1px;padding:1px}
- .fix:after{ content:"."; display:block; height:0; clear:both;
- visibility:hidden}
- .fix{display:inline-block;min-height:1%}
- *html .fix{zoom:1}
- .fix{display:block}
- */
- 腾讯网
- /*
- body{margin:0;padding:0 0 12px 0;background:#fff;font-size:13px;line-
- height:22px;}
- div,p,li{font-family:Verdana,婼;font-size:13px;}
- form,ul,li,p,h1,h2,h3,h4,h5,h6{margin:0;padding:0;}
- input,select{font-size:12px;line-height:16px;}
- img{border:0;}
- ul,li{list-style-type:none;}
- li{font-size:13px;}
- .tc{text-align:center;}.tl{text-align:left;}.tr{text-align:right;}
- .dis{display:block;}.undis{display:none;}
- .fl{float:left;}.fr{float:right;}.cl{clear:both;}
- .fh{height:22px;}.fb{font-weight:bold;}.fnb{font-weight:200;margin-
- left:-1px;}
- .fc30{color:#303030;font-family:"宋体";}.fchot{color:#ff0700}
- .f11{font-size:12px;font-family:tahoma;}
- h4{font-weight:200;font-size:13px;cursor:pointer;}
- h4 a{width:100%;heihgt:100%;display:block;}
- a{color:#00007F;text-decoration:none;}
- a:hover{color:#bd0a01;text-decoration:underline;}
- a.lcblue{color:#0F479C;}
- a.lchot{color:#bd0a01;}
- .lchot{color:#bd0a01;}
- */
- 凤凰网
- /*
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,
- blockquote,th,td{margin:0;padding:0;}
- table{border-collapse:collapse;border-spacing:0;}
- fieldset,img{border:0;}
- address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-
- weight:normal;}
- ol,ul {list-style:none;}
- caption,th {text-align:left;}
- h1,h2,h3,h4,h5,h6{font-size:100%;}
- q:before,q:after{content:'';}
- body {font:12px "婼",arial,helvetica,clean,sans-serif}
- table {font-size:inherit;font:100%;}
- body * {line-height:16px;}
- h1 {font-size:14px;}
- h2 {font-size:14px;font-weight:normal;}
- h3 {font-size:12px;}
- h4 {font-size:12px;font-weight:normal;}
- strong {font-weight:bold;}
- a {text-decoration:none;}
- a:hover {text-decoration:underline;}
- .clear {clear:both;}
- .clearfix:after { content: "."; display: block; height: 0; clear:
- both; visibility: hidden;}
- /* Hides from IE-mac \*/
- * html .clearfix {height: 1%;}
- /* End hide from IE-mac */
- .bold {font-weight:bold;}
- .f14 {font-size:14px;}
- .h20 { line-height:20px;}
- .error {color:red;}
- .black {color:#000;}
- .white {color:#fff;}
- .red {color:#e10007;}
- .grey {color:#454545;}
- .orange {color:#ff7200;}
- .blue {color:#3a8ecf;}
- .navy {color:#183b7d;}
- */
- cctv
- /*
- body,div,h1,h2,h3,h4,h5,h6,p,ul,ol,dd,dt,dl,li,form,input
- {margin:0;padding:0;}
- body,a{color:#000;}
- body, input, textarea{font:13px/1.3 Arial;}
- li,
- #main-fn-bar .searchBox{list-style:none;font-family:"宋体";}
- a{text-decoration:none;}
- a:hover{text-decoration:underline;}
- img{border:none;}
- h4, h5{font-size:13px;}
- */
- 新华网
- /*
- body,td,div { font-size: 12px; font-weight: normal; color: #005FA2; }
- body,td,th { font-size: 12px; }
- body {margin: 0px;background-image:url(http://imgs.xinhuanet.com/icon/home/2007/web_bg.gif);background-repeat:repeat-x;}
- */
- 工商银行
- /*
- TD
- {font-size: 12px;text-decoration: none;}
- INPUT{font-size: 12px;color: #000000;text-decoration: none;}
- BODY{font-size: 12px;color: #000000;text-decoration: none;font-family: 宋体;}
- SELECT{font-size: 12px;text-decoration: none;}
- P{line-height: 150%;text-decoration: none;}
- H1{font-weight: bold;font-size: 150%;text-decoration: none;}
- H2{font-weight: bold;font-size: 14px;text-decoration: none;}
- H3{font-weight: bold;font-size: 14px;text-decoration: none;}
- */
- 迅雷
- /*
- * {margin:0;padding:0;}
- html {background:#FFFFFF;}
- body {text-align:left;font:normal 12px/1.6em simsun, Verdana, Lucida,
- Arial, Helvetica, sans-serif;color:#353535;}
- table {border-collapse:collapse;border-spacing:0;empty-cells:show;text
- -align:left;}
- th,td {border-collapse:collapse;}
- ol,ul {list-style:none;}
- a {text-decoration:none;color:#353535;}
- a:hover {color:#CD0102;}
- input,select,form img,button {vertical-align:middle;}
- button {border:0;cursor:pointer;}
- img {border:0;}
- em {font-style:normal;}
- */
- baidu有啊
- /*
- body{font:13px/1.4 arial,helvetica,sans-serif;text-align:center;}
- body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,p,form,fieldset,legend,input,textare
- a,select,button,th,td{margin:0;padding:0;}h1,h2,h3,h4,h5,h6{font-
- size:100%;font-weight:normal;}table{font-size:inherit;font:100%;}
- input,select{font:100% arial,helvetica,clean,sans-serif;}button
- {overflow:visible;}th,em,strong,b,address,cite{font-style:normal;font-
- weight:normal;}li{list-style:none;}img,fieldset{border:0;}ins{text-
- decoration:none;}
- */
- 泡泡网
- /*
- 163
- /*
- body { text-align: center; font-family:"婼", arial;margin:0; padding:0;
- background: #FFF; font-size:12px; color:#000;}
- div,form,img,ul,ol,li,dl,dt,dd {margin: 0; padding: 0; border: 0; }li
- {list-style-type:none;}img{vertical-align:top;}strong{font-
- weight:normal;}em {font-style:normal;}h1,h2,h3,h4,h5,h6 { margin:0;
- padding:0;font-size:12px; font-weight:normal;}
- a:link {color: #1f3a87; text-decoration:none;}a:visited {color:
- #83006f;text-decoration:none;}a:hover {color: #bc2931; text-
- decoration:underline;}a:active {color: #bc2931;}/* Color
- */.cRed,a.cRed:link,a.cRed:visited{ color:#f00;
- }.cBlue,a.cBlue:link,a.cBlue:visited,a.cBlue:active
- {color:#1f3a87;}.cDRed,a.cDRed:link,a.cDRed:visited{
- color:#bc2931;}.cGray,a.cGray:link,a.cGray:visited{ color:
- #4F544D;}.cDGray,a.cDGray:link,a.cDGray:visited{ color:
- #666;}.cWhite,a.cWhite:link,a.cWhite:visited{
- color:#fff;}.cBlack,a.cBlack:link,a.cBlack:visited{color:#000;}
- a.cBlack:hover
- {color:#bc2931;}.cYellow,a.cYellow:link,a.cYellow:visited
- {color:#ff0;}.cGreen,a.cGreen:link,a.cGreen:visited{color:#008000;}/*
- Font */.fB {font-weight: bold;}.f12px{ font-size:12px;}.f14px{ font-
- size:14px;}/* icon */.I_V_ {background:url
- (http://img1.cache.netease.com/cnews/img09/icon.gif) left center no-
- repeat; padding-left:16px;}/* Other */.left{ float: left;}.right{
- float: right;}.clear{ clear: both; font-size:1px; width:1px; height:0;
- visibility: hidden; }.clearfix:after{content:"."; display:block;
- height: 0; clear: both; visibility: hidden;} /* only FF */.hidden
- {display: none;}.unLine ,.unLine a{text-decoration: none;}.noBorder
- {border:none;}
- */
- 163新闻页
- /*
- /* Global CSS */
- body {text-align:center;font-family:宋体,serif;background:#ffffff;font
- -size:12px;}
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,te
- xtarea,blockquote{padding:0; margin:0;} table,td,tr,th{font-
- size:12px;}li{list-style-type:none;}table{ margin:0 auto;}img{vertical
- -align:top;border:none;}ol,ul {list-style:none;}caption,th {text-
- align:left;} h1,h2,h3,h4,h5,h6 {font-size:12px; font-weight:normal;}
- q:before,q:after {content:'';}abbr,acronym {border:0;}
- address,caption,cite,code,dfn,em,th,var {font-weight:normal; font-
- style:normal;}/* link color font */a {color:#2b2b2b;text-
- decoration:none;}a:visited {color:#83006f;text-decoration:none;}a:hover
- {color:#BA2636;text-decoration:underline;}a:active {color:#BA2636;}
- */
- msn中国站
- /*
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,leg
- end,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border
- -collapse:collapse;border-spacing:0;}fieldset,img{border:0;}
- address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-
- weight:400;}li{list-style:none;}caption,th{text-align:left;}
- h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400;}em{font-
- style:italic;}a{outline:none;}input,button,select,textarea{font-
- size:12px;vertical-align:middle;}img{vertical-
- align:middle;}.clearfix:after
- {content:".";display:block;height:0;clear:both;visibility:hidden;}.clea
- rfix{display:block;clear:both;}.clearfix2
- {_height:1%;overflow:auto;}.mydebug{border:#000 solid 1px;}body{font-
- size:12px;background-color:#FFF;font-family:"婼";}a .imgborder,a:link
- .imgborder,a:visited .imgborder{border:1px solid #DDD;}a:hover
- .imgborder{border:1px solid #333;}
- */
- yahoo中国
- /*
- body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:400;}ol,ul{list-style:none;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400;}q:before,q:after{content:'';}body{font-family:Arial,Helvetica,sans-serif,SimSun;font-size:12px;text-align:center;}
- */
- 网站的rest
- /*
- html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote,
- pre, form, fieldset, table, th, td { margin: 0; padding: 0; }
复制代码
给我感觉也是够用就行。好多东西是不需要设的。。。部分的东西我没处理掉,还望大家见谅
[ 本帖最后由 sjq617 于 2009-3-5 20:29 编辑 ] |
|