I started writing HTML again (2)

Source: Internet
Author: User
I saw it just now. I was surprised that no CSS results were available.
What is the difference... So I still paste the CSS
Haha ....

**************************************** ******************************/

 
*{

Padding: 0;

Margin: 0;

}

 
Body {

Color: #666666;

Background-color: # ffffff;

Font-family: "trebuchet ms", verdana, Helvetica, Arial, sans-serif;

Font-size: 83%;

Margin: 20px auto;

Width: 760px;

Padding-left: 10px;

Padding-Right: 10px;

}

 
H1, H2, H3, H4, H5, H6, P, pre, BLOCKQUOTE, label, UL, ol, DL,

Fieldset, address {margin: 0.75em 0 ;}

 
H1 {font-size: 167% ;}

 
H2 {font-size: 139% ;}

 
H3 {font-size: 120% ;}

 
H4 {font-size: 100% ;}

 
Li, DD {

Margin-left: 2em;

}

 
A {

Color: # cc0000;

Background-color: # ffffff;

Font-weight: normal;

Text-Decoration: none;

}

 
A: hover {

Color: # cc0000;

Background-color: # ffffff;

Font-weight: normal;

Text-Decoration: underline;

}

 
# Contact {

Padding: 0px 0px 0px 0px;

Float: right;

}

 
# Contact {

Color: # cc0000;

Background-color: # ffffff;

Font-weight: bold;

Text-Decoration: none;

}

 
# Contact A: hover {

Color: # cc0000;

Background-color: # ffffff;

Text-Decoration: underline;

}

 
# Header {

Clear: both;

Color: # cc0000;

Background-color: # ffffff;

Padding: 5px 0px 10px 0px;

Margin: 0px 0px 0px 0px;

}

 
 
# Title {

Color: # cc0000;

Background-color: # ffffff;

Font-size: 200%;

Font-weight: bold;

Padding: 0px 0px 0px 0px;

Margin: 0px 0px 0px 0px;

Float: left;

}

 
# Slogan {

Color: #666666;

Background-color: # ffffff;

Font-size: 83%;

Font-weight: normal;

Font-style: normal;

Padding: 0px 20px 0px 0px;

Margin: 0px 0px 0px 0px;

Float: left;

Width: 35%;

}

 
Ul # nav {

Line-Height: 125%;

Height: 3em;

Float: right;

Margin: 0px 0px 0px 0px;

Padding: 10px 0px 0px 0px;

List-style: none;

Text-align: center;

Width: 60%;

}

 
Ul # nav Li {

Margin: 0px 0px 0px 0px;

Padding: 0px 0px 0px 20px;

Float: right;

}

 
Ul # nav Li {

Display: block;

Font-size: small;

Color: # cc0000;

Background-color: # ffffff;

Font-weight: normal;

Text-Decoration: none;

}

 
Ul # nav Li A: hover {

Border-bottom: 3px solid # cc0000;

}

 
Ul # nav A. Selected {

Border-bottom: 3px solid # cc0000;

}

 
# Path {

Width: 760px;

Clear: both;

Float: left;

Font-size: 75%;

Font-weight: normal;

Margin: 4px 0px 5px 0px;

Border-top: 5px solid #666666;

}

 
# Path {

Font-weight: normal;

}

 
# Maincontent {

Font-size: 100%;

Padding: 0px 5px 5px 0px;

Margin: 0px 0px 0px 0px;

Width: 540px;

Float: left;

}

 
# Sidecontent {

Font-family: Arial, sans-serif;

Color: #666666;

Background-color: # ffffff;

Font-size: 75%;

Padding: 10px 10px 20px 10px;

Margin: 0px 0px 10px 0px;

Width: 180px;

Float: right;

Border: #999999 solid thin;

}

 
# Sidecontent {

Color: # cc0000;

Background-color: # ffffff;

}

 
# Sidecontent H2 {margin: 0.75em 0.25em 0.25em 0em ;}

 
# Sidecontent ul {margin: 0.25em 0.25em 0.25em 0.25em ;}

 
# Footer {

Height: 40px;

Color: #666666;

Background-color: # ffffff;

Border-top: 5px solid #666666;

Font-size: 75%;

Line-Height: 1.5em;

Width: 760px;

Clear: both;

}

 
# Footer {

Color: # cc0000;

Background-color: # ffffff;

Text-Decoration: none;

}

 
# Footer A: hover {

Color: # cc0000;

Background-color: # ffffff;

Font-weight: normal;

Text-Decoration: underline;

}

 
# Copyrightdesign {

Color: #666666;

Background-color: # ffffff;

Padding: 5px 20px 5px 0px;

Width: 580px;

Float: left;

}

 
# Footercontact {

Color: # cc0000;

Background-color: # ffffff;

Padding: 5px 0px 5px 0px;

Float: right;

}

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.