用這個
|
1.網易
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;}
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;}
2.MSN
body {padding:0;margin:0;text-align:center;color:#666;font-size:12px;font-family:tahoma,arial,sans-serif;}
h1, h2, h3, h4, h5, h6, form, div, p, i, img, ul, li, ol, table, tr, td,th, fieldset, label, legend,button,input { margin:0;padding:0;}
li{list-style:none;}
a img{border:none;}
a:link{text-decoration:none;color:#07519A;}
a:visited{text-decoration:none;color:#07519A;}
a:active,a:hover{text-decoration:underline;color:#07519A;}
3.搜狐
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}
a{outline-style:none;color:#333;text-decoration:none}
a:hover{color:#c00;text-decoration:underline;}
通用樣式01
[html] view plain copy
- @charset "utf-8";
- *{ margin:0;padding:0;}
- * html body{ overflow:visible;}
- * html iframe, * html frame{ overflow:auto;}
- * html frameset{ overflow:hidden;}
- body{ color:#000; background:#FFF; font:12px/22px Verdana,Arial,sans-serif,"Times New Roman",宋體; text-align:center;}
- body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div,tr{ margin:0; padding:0;}
- input,select{ font-size:12px; vertical-align:middle;}
- body div{ text-align:left;}
- textarea,input{ word-wrap:break-word; word-break:break-all; padding:0px;}
- li{ list-style-type:none;}
- img{ border:0 none;}
- a:link, a:visited{ color:#04C; text-decoration:none;}
- a:hover{ color:#F60; text-decoration:underline;}
- a { outline:none; star:expression(this.onFocus=this.blur());}
- h1{ font-size:24px;}
- h2{ font-size:20px;}
- h3{ font-size:18px;}
- h4{ font-size:16px;}
- h5{ font-size:14px;}
- h6{ font-size:12px;}
通用樣式02
[html] view plain copy
- @charset "utf-8";
- body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td {margin:0;padding:0;}
- body, button, input, select, textarea {font:12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif;}
- h1, h2, h3, h4, h5, h6 {font-size:100%;}
- address, cite, dfn, em, var {font-style:normal;}
- code, kbd, pre, samp {font-family:courier new, courier, monospace;}
- small {font-size:12px;}
- ul, ol {list-style:none;}
- a {text-decoration:none;}
- a:hover {text-decoration:underline;}
- sup {vertical-align:text-top;}
- sub {vertical-align:text-bottom;}
- legend {color:#000;}
- fieldset, img {border:0;}
- button, input, select, textarea {font-size:100%;}
- table {border-collapse:collapse;border-spacing:0;}
通用樣式03
[html] view plain copy
- @charset "utf-8";
- 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,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-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; text-decoration:none; }
- :focus { outline: 0; }
- table { border-collapse: separate; border-spacing: 0; }
- caption, th, td { height:30px; font-weight: normal; }
- a img, iframe { border: none; }
- ol, ul { list-style: none; }
- input, textarea, select, button { font-size: 100%; font-family: inherit; }
- select { margin: inherit;}
- body { font-size:12px; font-family:"宋體"; }
通用樣式04
[html] view plain copy
- @charset "utf-8";
- *{padding:0;margin:0;}
- div,dl,dt,dd,form,h1,h2,h3,h4,h5,h6,img,ol,ul,li,table,th,td,p,span,a{border:0;}
- img,input{border:none;vertical-align:middle;}
- body{font-family:Tahoma,Arial,Helvetica,"宋體";font-size:12px;background:#FFF;color:#212121;
- line-height:30px; background:#e6e6e6;}
- html{overflow-y:scroll;}
- ul,ol{list-style-type:none;}
- th,td,input{font-size:12px;}
- h3{font-size:14px;}
- button{border:none;cursor:pointer;font-size:12px;background-color:transparent;}
- select{border-width:1px;_zoom:1;border-style:solid;padding-top:2px;font-size:12px;}
- .clear{clear:both;font-size:1px;height:0;visibility:hidden;line-height:0;}
- .clearfix:after{content:"";display:block;clear:both;}
- .clearfix{zoom:1;}
- a:link,a:visited{text-decoration:none;color:#333;}
- a:hover,a:active{text-decoration:underline;color:#f60;}