一个系统的base.css,兼容IE7,IE8,IE9,IE10,IE11,firefox,safari,谷歌,360,世界之窗等浏览器起的公共css
/*
?* name?????? :tuzuoquan
?* mail?????? :tuzq@XXXXX
?* date?????? :2013/12/13
?* version??? :0.1
?* description:XXXX系統通用CSS
?* CopyRight (C) 2013-12
?*/
html,html *{
?margin:0px;
?padding:0px;
?border:0px;
?list-style-type:none;
}
body{
?font-family: "Helvetica Neue",Helvetica,Arial,sans-serif,"宋體";
?height:auto;
?color: #8A8A8A;
?background:url(../images/img01.gif) repeat-x left top;
}
div,span,h1,h2,h3,h4,h5,h6,pre,code,em,small,strong,sub,sup,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label{margin:0;padding:0;border:0;outline:0;font-size:13px;vertical-align:baseline;background:transparent}
/**
div,span,h1,h2,h3,h4,h5,h6,p,pre,a,code,em,img,small,strong,sub,sup,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
**/
:focus{outline:none;}
a{
?color:#999999;
?text-decoration:none;
?cursor:pointer;
}
a img{border:0px;}
a:hover{
?color:#999999;
?text-decoration:none;
}
p{
?line-height:1.3em;
?text-align:left;
}
.text-indent2em{
?text-indent:2em;
}
form,ol,ul,li,dl,dd{
?list-style-type:none;
}
/** form表單 **/
img{
?outline:none;
}
.hidden{
?display:none;
}
.clearfloat{
?overflow:auto;
}
.title{
?height:35px;
?line-height:35px;
?font-size:15px;
?text-align:left;
?margin-left:10px;
?margin-right:10px;
?padding-left:10px;
?font-weight:bolder;
?border:1px solid #CDCDCD;
?color: #618C04;
?background:url(../images/title_bg.png) repeat 0 0;
}
.titleOverLoad{
?height:32px;
?line-height:32px;
?margin:0px;
?margin-top:10px;
?padding:0px;
?padding-left:5px;
?border:none;
?color:#FFFFFF;
?font-weight:bolder;
?background:url(../images/titleOverload_bg1.png) repeat-x 0 0;
?background:url(../images/titleOverload_bg2.png) repeat-x 1 0;
}
.titleOverLoad2{
?height:32px;
?line-height:32px;
?margin:0px;
?margin-top:10px;
?padding:0px;
?padding-left:5px;
?border:none;
?color: #618C04;
?border-bottom:1px solid #CDCDCD;
?font-weight:bolder;
?background:none;
?clear:left;
}
.titleOverLoad3{
?margin-left:0px;
?margin-right:0px;
?color: #618C04 !important;
?border-left:none;
?border-right:none;
}
.color618C04{
?color: #618C04 !important;
}
.titleSecond{
?background:none;
?border:none;
?border-bottom:1px solid #CDCDCD;
?text-align:left;
}
.inner-title{
?width:200px;
?height:33px;
?padding-left:5px;
?float:left;
?font-size:12px;
?margin-left:-10px;
}
.boxOfImage{
?height:32px;
?width:25px;
?text-align:center;
?line-height:35px;
?float:left;
}
.boxOfImage img{
?margin-top:12px;
}
.title-width-125{
?width:125px;
}
.padding-top-none{
?padding-top:0px;
}
.title-top-dash{
?border-top:1px dashed #CCCCCC;
}
.title-bottom-dash{
?border-bottom:1px dashed #CCCCCC;
}
.more{
?padding-top:5px;
?height:25px;
?line-height:25px;
?width:50px;
?float:right;
?margin-right:0px;
}
.more *{
?font-weight:normal;
?color:rgb(80,199,175);
}
h4{
?margin-right:5px;
?margin-top:10px;
}
.detailInfo,.detailInfo *{
?text-align:right;
?color:rgb(80,199,175);
}
.buttonStyle{
?width:200px;
?height:65px;
?color:#333333;
?padding-left:15px;
?background:url(../images/buttonStyleBlue.png) no-repeat 0 0;
}
.buttonStyle #buttonleft,#misps .buttonStyle #buttonright{
?width:70px;
?height:80px;
?float:left;
}
.buttonStyle #buttonright{
?width:110px;
}
.buttonStyle #buttonleft #rate{
?width:70px;
?height:30px;
?text-align:center;
?font-family:"黑體";
?font-size:25px;
?font-weight:bolder;
?margin-top:20px;
}
.buttonStyle #buttonleft #property{
?width:70px;
?height:23px;
?text-align:center;
?font-family:"微軟雅黑";
?font-size:10px;
?margin-bottom:7px;
}
.buttonStyle #buttonright #unfinish{
?width:80px;
?height:40px;
?line-height:40px;
?padding-left:10px;
}
.buttonStyle #buttonright #unfinish a{
?text-decoration:underline;
}
.buttonStyle #buttonright #unfinish a:hover{
?color:#FFFFFF;
?text-decoration:underline;
}
.buttonStyle #buttonright #finish{
?width:80px;
?height:40px;
?line-height:40px;
?padding-left:10px;
}
.buttonStyle #buttonright #finish a:hover{
?color:#FFFFFF;
}
.stat-boxes{
?display: inline-block;
??? list-style: none outside none;
??? margin: 0px 0 10px;
??? text-align: center;
?overflow:hidden;
?margin-left:-10px;
}
.stat-boxes,.stat-boxes *{
?outline:medium none !important;
}
.stat-boxes li{
?width:200px;
?float:left;
?line-height:18px;
?background-color: #F6F6F6;
??? background-image: -moz-linear-gradient(center top , #F9F9F9 0%, #EDEDED 100%);
??? border: 1px solid #D5D5D5;
??? border-radius: 4px;
??? box-shadow: 0 1px 0 0 #FFFFFF inset, 0 1px 0 rgba(255, 255, 255, 0.4);
??? display: inline-block;
??? line-height: 18px;
??? margin: 0 10px 10px;
??? padding: 0 10px;
}
.stat-boxes li:hover{
??? background-color: #fcfcfc;
?background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#FCFCFC), to(#F1F1F1));
?background-image: -webkit-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
??? background-image: -moz-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
??? background-image: -ms-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
??? background-image: -o-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
??? background-image: linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
}
.stat-boxes .left, .stat-boxes .right {
?text-shadow: 0 1px 0 #ffffff;
??? float:left;
}
.stat-boxes .left {
??? border-right: 1px solid #DCDCDC;
??? box-shadow: 1px 0 0 0 #FFFFFF;
??? margin-right: 12px;
??? padding: 10px 14px 6px 4px;
??? font-size: 10px;
??? font-weight: bold;
}
.stat-boxes .right {
??? font-size: 12px;
??? padding: 9px 10px 7px 0;
??? text-align: center;
??? width: 70px;
??? color: #666666;
}
.stat-boxes .left span, .stat-boxes .right strong {
?display: block;
}
.stat-boxes .right strong {
?font-size: 13px;
?margin-bottom: 3px;
?margin-top: 6px;
}
.stat-boxes .peity_bar_good, .stat-boxes .peity_line_good? {
?color: #459D1C;
}
.stat-boxes .peity_bar_neutral, .stat-boxes .peity_line_neutral? {
?color: #757575;
}
.stat-boxes .peity_bar_bad, .stat-boxes .peity_line_bad? {
?color: #BA1E20;
}
.online-graph{
?margin:0px;
?padding:0px;
?height:45px;
?line-height:45px;
?font-weight:bolder;
?font-size:25px !important;
?width:120px !important;
}
.common{
?width:200px;
?height:65px;
?text-align:center;
?line-height:65px;
?font-size:30px;
?font-weight:bolder;
?color:#FFFFFF;
?font-family:"微軟雅黑","宋體";
}
.text-align-left{
?text-align:left;
?padding-left:5px;
}
.text-align-right{
?text-align:right;
?padding-right:5px;
}?
.width150{
?width:150px;
}
.width80{
?width:80px;
}
.box-emptyHeight5px{
?height:5px;
}
.box-emptyHeight15px{
?height:15px;
?width:1000px;
}
.box-emptyHeight33px{
?height:33px;
?width:1000px;
}
.box-grayHeight1px{
?height:0px;
?border-top:1px solid #CCCCCC;
}
.box-whiteHeight1px{
?height:0px;
?border-top:1px solid #FFFFFF;
}
.float-left{
?float:left;
}
.margin-left-5px{
?margin-left:5px;
}
.margin-right-5px{
?margin-right:5px;
}
.float-right{
?float:right;
}
.height200{
?height:200px;
}
.width130{
?width:130px;
}
.height131px{
?height:131px;
}
.items{
?margin-top:5px;
?margin-right:5px;
?float:left;
?border-bottom:1px dashed #CDCDCD;
}
.items img{
?height:50px;
?width:50px;
?float:left;
?margin:10px 5px;
}
.name{
?font-weight:bolder;
?height:17px;
?overflow:hidden;
?text-overflow:ellipsis;
?-webkit-text-overflow:ellipsis;
?-o-text-overflow:ellipsis;
?white-space:nowrap;
}
.description{
?height:17px;
?overflow:hidden;
?text-overflow:ellipsis;
?-webkit-text-overflow:ellipsis;
?-o-text-overflow:ellipsis;
?white-space:nowrap;
}
.height34{
?height:34px;
}
.height100px{
?height:100px;
}
.margin-left40{
?margin-left:40px;
}
.width160px{
?width:160px;
}
.boder-top-solid{
?border-top:1px solid #CCCCCC;
}
#bg #bg-top,#bg #bg-center,#bg #bg-bottom{
?width:1118px;
}
#bg #bg-top {
?height:45px;
?text-align:center;
?background:url(../images/graph_bg.png) no-repeat center bottom;
}
.map-address{
?width:1118px;
?height:45px;
?padding-left:59px;
}
.breadcrumb {
??? background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
??? border: medium none;
??? border-radius: 0;
??? box-shadow: none;
??? font-size: 13px;
??? margin-bottom: 20px;
??? padding: 0px;
?list-style: none outside none;
?text-align:left;
?height:40px;
?line-height:40px;
?display:inline;
}
.breadcrumb li{
?float:left;
?margin:auto 3px;
}
.active{
?color:rgb(173,220,97);
}
#bg #bg-center{
?height:auto;
?background:url(../images/graph_container_gb.png) repeat-y center top;
}
#bg #bg-bottom{
?height:35px;
?background:url(../images/graph_container_bottom.png) no-repeat center top;
}
.margin-padding-none{
?margin:0px;
?padding:0px;
}
.font-size-13px{
?font-size:13px;
}
.color-common{
?background:rgb(138,183,2);
}
.link-address{
?width:625px;
?height:33px;
?line-height:33px;
?float:left;
}
.toggle-button{
?width:350px;
?height:33px;
?float:left;
?clear:right;
?text-align:right;
}
.button-common2 {
?height: 33px;
?line-height:33px;
?background:url(../images/issue-item-bg.png) repeat 0 0;
?padding:0 7px;
?border-bottom:none;
?border:1px solid #DDDDDD;
?color: #8A8A8A;
}
#misps #header #log-info .top-main-pannel,#misps #header #banner,#misps #container #graph,#misps #container #word,#misps #container #micaps,#misps #container #esb,#misps #footer #container,#misps #container #statistics,#misps #container #statistics-num,#misps #container #search-list-products{
?width:1000px;
}
總結
以上是生活随笔為你收集整理的一个系统的base.css,兼容IE7,IE8,IE9,IE10,IE11,firefox,safari,谷歌,360,世界之窗等浏览器起的公共css的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 过户后买方取消贷款
- 下一篇: CentOS6.4安装Samba(匿名)