CSS公用文件

  •   2009-07-31/13:28
  • 由于各浏览器的默认CSS样式不一样,我们必须写一个CSS Reset统一起来。
    通常我的做法是在common.css里写全局控制,这里面也包括header和footer,其它CSS文件就通过@import url(”common.css”);引用。
    body{padding:10px;margin:0;background:#fff;font-size:12px;line-height:14px;color:#333;font-family:Arial;}
    form,ul,ol,h1,h2,h3,h4,h5,h6,p{margin:0;padding:0;list-style:none;}
    input,textarea,select,button{font-size:12px;}
    img{border:none;}
    address,cite,small{color:#999;font-style:normal;font-size:12px;}
    a{color:#09c;text-decoration:none;}
    a:hover{text-decoration:underline;}

    #header{...}
    #footer{...}


    评论 {{userinfo.comments}}

    {{money}}

    {{question.question}}

    A {{question.A}}
    B {{question.B}}
    C {{question.C}}
    D {{question.D}}
    提交

    驱动号 更多