This paper is based on the learning pen in MU class network .
Text layout--fonts
body{font-family: "Microsoft Yahei";} Body{font-family: "Microsoft Jas Black";} Better compatibility
Text layout--font size, color
Body{font-size:12px;color: #666}
Text layout--Bold
P Span{font-weight:bold;}
Text Layout-Italic
P A{font-style:italic;} In my third year of <p>, I was a little girl with a <a> timid </a>. </p>
Text layout-Underline
P A{text-decoration:underline;} In my third year of <p>, I was a little girl with a <a> timid </a>. </p>
Text layout--Strikethrough
. Oldprice{text-decoration:line-through;}
Paragraph Layout--indentation
P{text-indent:2em;} Note: 2em means twice times the size of the text. In the spring of <p>1922, a writer who wanted to be named Nikkalavi (Toby McGuire Tobey Maguire), left the Midwestern United States and came to New York. It was a time of rising morality, popular jazz, smuggling as king, and soaring stocks. In pursuit of his American dream, he moved into a bay near New York to live. </p>
Paragraph layout-line spacing (row height)
P{line-height:1.5em;} Pitch is 0.5em<p> Fitzgerald, one of the American literary giants of the 20th century, both writer and screenwriter dual identities. He sings the ornate elegy of the "Jazz Age" with the poet's sensibility and the imagination of the dramatist, and the temperament of his poet and Dreamer is also the perfect note for that extravagant age. </p>
Paragraph layout--word spacing, letter spacing
h1{ letter-spacing:50px;//Word interval or letter spacing}Paragraph layout--alignmentSets the left, center, and right styles for text and pictures in a block element.
h1{ Text-align:center;} CSS format layout