4.1. ,
serif | Times New Roman, Book Antiqua | |
sans-serif | Helvetica, Arial, Verdana | |
cursive | Zapf-Chancery | |
fantasy | Western, Comic | |
monospace | Courier New |
, , , :
{font-family: 'Western, Times New Roman', serif;}
2. font-weight: lighter, bold, bolder.
:
p.bold {font-weight: bold;} ( ).
3. font-size: ( %), ( , pt, cm mm).
:
hi {font-size: 200%;} ( )
h2 {font-size: 50px;}
h3 {font-size: 12pt; }
4. text-decoration. : (underline), (overline), (line-through), ().
:
h4 {text-decoration: underline;}
{text-decoration: overline;}
.wrong {text-decoration: line-through;}
a {text-decoration: none;}
.
color RGB .
:
hi {color: yellow;}
hi {color: yellow;}
.active {color: #FFFF00;}
2. background-color ( ).
:
hl.grayback {background-color: #CCCCCC;}
.
1. text-align . : (left), (center), (right), (justify).
:
{text-align: justify;}
text-indent ( ). () (pt).
:
{text-indent: 50pt;}
3. Hne-heighn . (), (pt) (%).
:
{line-height: 50%;} .
4. margin . () (pt). : (margin), (margin-left), (margin-right), (margin-top), (margin-bottom).
:
{margin: ;}
img {margin-left: 20px;}
.
1. border-width . : {border-left-width), {border-top-width), {border-right-width), {border-bottom-width). ().
:
.lineTop {border-top-width: ;}
2. border-color ().
:
|
|
.lineRed {border-color: #FF0000;}
3. border-style . : {), {solid), {dotted), {dashed), {double), {groove), {ridge), {inset), {outset).
:
.lineSimple {border-style: outset;}
4. border , : , . :
border: ; border-tor: ; border-right: ; border-bottom: ; border-left: ;
:
td.blueBorder {border: 4px dotted #003399}
: (border-left), (border-top), (border-right), (border-bottom).
:
td.red21ine {border-color: #FF0000;
border-left: 2px double;
}