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;
    }

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

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

  • 相关阅读:
    计划任务
    Crontab 定时任务格式参数
    Nginx 内核优化
    AC自动机
    Benelux Algorithm Programming Contest 2017(D)
    BAPC2017
    2018.9青岛网络预选赛(K)
    2018.9青岛网络预选赛
    2018.9青岛网络预选赛(A)
    2018.9青岛网络预选赛(C)
  • 原文地址:https://www.cnblogs.com/myprogramer/p/6550835.html
Copyright © 2011-2022 走看看