自己常用的重置样式

    @charset "utf-8";
    html,body,h1,h2,h3,h4,h5,h6,hr,p,iframe,dl,dt,dd,ul,ol,li,pre,form,fieldset,button,input,textarea,th,td,legend,blockquote{margin:0;padding:0}
    body{ background:#f9f9f9; font:12px/1.5 "\5FAE\8F6F\96C5\9ED1",Arial,HELVETICA; min-width:1200px; _background-image:url(about:blank); _background-attachment:fixed;}        
    table {        
        border-collapse: collapse;            
        border-spacing: 0; 
    }        
    fieldset,img {            
        border: 0;        
    }        
    address,caption,cite,code,dfn,em,strong,th,var {    
        font-weight: normal;            
        font-style: normal; 
        }        
    ol,ul {        
        list-style: none;        
    }        
    caption,th {            
        text-align: left;        
    }        
    h1,h2,h3,h4,h5,h6 {
        font-weight: normal; 
        font-size: 100%;        
    }        
    q:before,q:after {            
    content:'';       
    }        
    abbr,acronym { 
        border: 0;        
    }
    img{display:block;}
    input{vertical-align:middle;}
    a{ color:#333; text-decoration:none;outline:none;}
    a:hover{ color:#09F; text-decoration:none;outline:none;}
    a.disabled, a.disabled:hover{ cursor:default; pointer-events:none;}


你可能感兴趣的:(css,reset,重置,常用)