Article excerpt from: http://blog.csdn.net/cicada_slough/article/details/43305303
Text italic
p.italic {Font-style:italic}
P.oblique {Font-style:oblique}
letter-spacing text Spacing
Text-indent:2em indent the current text two units in the first line
Fontsquirrel font Online conversion URL
. TTF or. OTF for firefox?3.5, Safari, Opera???
. EOT, for the internet? Explorer?4.0+???
. SVG, for Chrome, IPhone
embedding fonts in/*css */
@font-face? {
font-family:? ' Fontnameregular ';??
Src:?url (' Fontname.eot ');?
Src:?local (' FontName? Regular '),?
Local (' FontName '),?
URL (' Fontname.woff ')? Format (' Woff '),
URL (' Fontname.ttf ')? Format (' TrueType '),?
URL (' fontname.svg#fontname ')? Format (' svg ');?}?
/* where FontName is replaced with your font name */
/*css the font in the call */
P? {? font:?13px?fontnameregular,? Arial,?sans-serif;?}? H1{font-family:?fontnameregular}
/* Text Align Left/right */
Common CSS Text alignment:
Text-align:center; Align Text Center
Text-align:left; Align text to the left
Text-align:right; Text Right-aligned
HTML is commonly used:
<p align= "Right" > Text </p>
<p align= "Left" > Text </p>
<p align= "center" > Text Center </p>
/* The distance between the text and the underline */
PADDING-BOTTOM:?PX;
Common style CSS for text