3.
. . , . CSS. .
HTML <table> </table>. , . , , : <tr></tr> , , <td></td> .
, , , . :
, , html .
:
, . , <table></table> <td></td> , , , , , . .
, <table></table>. , , <table></table> , . , <table> . . .
<table> :
border - , : <table border="2"> </table>.
bordercolor , : <table border="2" bordercolor="#548DD4"> </table>
2 , , :
width :
height :
<table border="2" bordercolor="#548DD4" width="250" height="150"> </table>
250 , 150 , :
align ;
align=left ;
align=right :
:
background , , .
, () , , <table> background="fon.gif " :
|
|
:
ellpadding , , . , <table> ellpadding=10, , .
cellspacing .
, , , , . <table> cellspacing=0. :
, :
hspace - , , , : hspace=20
nowrap , nowrap
, .
<td>, , <table>
width - .
height .
, 30% - width=30%, 100px. :
:
, . , .
align , :
align="lef" ;
align="right" ;
align="center" .
1 - ( , ), 2 , 4 - .
bgcolor .
background .
, <table>. , . , 2- , 4- ().
, bgcolor="#FFFF00" 2- background= "fon.jpg" 4- . :
, , , .
bordercolor .
C , <table>. , . , <td> border . 2 bordercolor="#FF0000"
|
|
, :
valign .
:
valign="top" ;
valign="bottom" ;
valign="middle" ;
valign="baseline" .
4- .
:
, . , colspan="" .
. . , rowspan="" , .
, . :
1- 2- 3-, 6- 7- . :
, , , . :
. <table> <td> . , .
. . 2.