CSS系列:CSS常用樣式

libingql發表於2015-12-20

1. 通用樣式

  Base.css

* {
    margin: 0;
    padding: 0;
}

body {
    width: 1000px;
    margin: 0 auto;
    font-size: 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #969696;
}

a {
    text-decoration: none;
    color: #93B300;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: none;
}

ul, ol, li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

#top {
}

#header {
}

#main {
}

#menu ul {
}

#menu li {
}

#menu li a {
}

#menu li a span {
}

#menu li a:hover span {
}

#menu li a:hover {
}

.summary {
}

#footer {
}