zoukankan      html  css  js  c++  java
  • 关于网站建设之清除浏览器默认样式

    @charset "utf-8";

    html{
    color:#000;
    background:#FFF;
    }
    body,
    div,
    dl,
    dt,
    dd,
    ul,
    ol,
    li,
    h1,
    h2,
    h3,
    form,
    fieldset,
    input,
    textarea,
    p,
    blockquote,
    th,
    td {
    margin:0;
    padding:0;
    }
    table {
    border-collapse:collapse;
    border-spacing:0;
    }
    a {
    text-decoration: none;
    }
    em,
    strong,
    b,
    u,
    i{
    font-style:normal;
    font-weight:normal;
    }
    ol,
    ul {
    list-style:none;
    }
    h1,
    h2,
    h3{
    font-size:100%;
    font-weight:normal;
    }
    input,
    textarea,
    select {
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
    *font-size:100%; /*to enable resizing for IE*/
    }
    img {
    border: 0 none;
    }
    input {
    border: none;
    }

    .clearfix:after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    clear: both;
    visibility: hidden;
    }
    .clearfix {
    zoom: 1;
    }

    这是我目前总结的关于网站建设初始化的标签,虽说有欠缺,随着以后的学习,我会陆续的更新本文档的。也希望各位路过的大神帮助补充完善。

    更多精彩内容,请扫面下面二维码获取更加精彩内容:

  • 相关阅读:
    LwIP源代码文件目录解析
    规划2014!
    test
    111
    df
    第一次北京之行
    Android02--debug.keystore的注册信息
    Android01--开发环境搭建
    dfd
    1007
  • 原文地址:https://www.cnblogs.com/myprogramer/p/6550835.html
Copyright © 2011-2022 走看看