�������
|
|
�����: |
|
�������� Subscribe.Ru:
|
|
| CSS | <--�����,��������� � ������,������--> | ������������ ��������� |
- margin - ������ ������ ����� ����� ���������� �������� � ��� ��������. �������� �������� margin-top, margin-right, margin-bottom � margin-left.
- margin: {margin-top} [{margin-right}] [{margin-bottom}] [{margin-left}];
- ����� ���� ������ �� ������ �� ������� ��������. ���� ������ ���� ��������, ��� ����������� �� ���� ������� �����. ���� ������ ��� ��������, ������ ��������� � �������� � ������� ����, � ������ - � ������ � �������. ���� ������ ��� ��������, �� ������ ����������� � �������� ����, ������ - � ������ � �������, ������ - � �������.
- �������������� IE ������� � 3.02 ��� ��������� ��������� � ������� � 4.0 ��� �����������.
- �������������� NN ������� � 4.0
- margin-top - ������ ������� ���� ����� ��������� �������� � ��� �������� ������.
- margin-top: auto|{Y}|{Y}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ���� ��������������. ��� ���� ���� ����� ������� margin-bottom, �������� �������� ���� ��������������� ������ �������� ������� ����. �������� �� ��������� auto.
- �������������� IE ������� � 3.02 ��� ��������� ��������� � ������� � 4.0 ��� �����������.
- �������������� NN ������� � 4.0
- margin-right - ������ ������ ���� ����� ��������� �������� � ��� �������� ������.
- margin-right: auto|{X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ���� ��������������. ��� ���� ���� ����� ������� margin-left, �������� ������� ���� ��������������� ������ �������� ������ ����. �������� �� ��������� auto.
- �������������� IE ������� � 3.02 ��� ��������� ��������� � ������� � 4.0 ��� �����������.
- �������������� NN ������� � 4.0
- margin-bottom - ������ ������ ���� ����� ��������� �������� � ��� �������� �����.
- margin-bottom: auto|{Y}|{Y}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ���� ��������������. ��� ���� ���� ����� ������� margin-top, �������� ������� ���� ��������������� ������ �������� �������� ����. �������� �� ��������� auto.
- �������������� IE ������� � 3.02 ��� ��������� ��������� � ������� � 4.0 ��� �����������.
- �������������� NN ������� � 4.0
- margin-left - ������ ����� ���� ����� ��������� �������� � ��� �������� �����.
- margin-left: auto|{X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ���� ��������������. ��� ���� ���� ����� ������� margin-right, �������� ������ ���� ��������������� ������ �������� ������� ����. �������� �� ��������� auto.
- �������������� IE ������� � 3.02 ��� ��������� ��������� � ������� � 4.0 ��� �����������.
- �������������� NN ������� � 4.0
- padding - ������ ������ ����� ��������� �������� � ���������� ���������. �������� �������� padding-top.
- margin-left: auto|{X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ���� ��������������. ��� ���� ���� ����� ������� margin-right, �������� ������ ���� ��������������� ������ �������� ������� ����. �������� �� ��������� auto.
- �������������� IE ������� � 3.02 ��� ��������� ��������� � ������� � 4.0 ��� �����������.
- �������������� NN ������� � 4.0
- padding-top - ������ ���������� ����� ��������� �������� � ������� ��������.
- pading-top: {Y}|{Y}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������.
- �������� �� ��������� 0, ��� ���� <TD> 1.
- �������������� IE � NN ������� � 4.0
- padding-right - ������ ���������� ����� ��������� �������� � ������ ��������.
- pading-right: {X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������.
- �������� �� ��������� 0, ��� ���� <TD> 1.
- �������������� IE � NN ������� � 4.0
- padding-bottom - ������ ������ ����� ��������� �������� � ������ ��������.
- pading-bottom: {Y}|{Y}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������.
- �������� �� ��������� 0, ��� ���� <TD> 1.
- �������������� IE � NN ������� � 4.0
- padding-left - ������ ���������� ����� ��������� �������� � ����� ��������.
- pading-left: {X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������.
- �������� �� ��������� 0, ��� ���� <TD> 1.
- �������������� IE � NN ������� � 4.0
- width - ������ ������ �������� ���������������� ��������.
- width: auto|{X}|{X}%;
- ������ ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ������ �������� ��������������.
- �������� �� ��������� auto.
- �������������� IE � NN ������� � 4.0
- height - ������ ������ �������� ������������������ ��������.
- height: auto|{X}|{X}%;
- ������ ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ������������� ������ �������� ��������������.
- �������� �� ��������� auto.
- �������������� IE � NN ������� � 4.0
- top - ������ ������������ ������� ������� ������� �������� ������������������ �������� ������������ ��������.
- top: auto|{Y}|{Y}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ��������������� ������� ��������������.
- �������� �� ��������� auto.
- �������������� IE � NN ������� � 4.0
- bottom - ������ ������������ ������� ������ ������� �������� ������������������ �������� ������������ ��������.
- bottom: auto|{Y}|{Y}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ��������������� ������� ��������������.
- �������� �� ��������� auto.
- �������������� IE ������� � 4.0
- left - ������ �������������� ������� ����� ������� �������� ������������������ �������� ������������ ��������.
- left: auto|{X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ��������������� ������� ��������������.
- �������� �� ��������� auto.
- �������������� IE � NN ������� � 4.0
- right - ������ �������������� ������� ������ ������� �������� ������������������ �������� ������������ ��������.
- right: auto|{X}|{X}%;
- ���������� ����� ���� ������ ��� ���������� ���������, ��� � ��������� �� ������ ��������. ���������������� �������� auto ���������� Web-������������ ��������������� ������� ��������������.
- �������� �� ��������� auto.
- �������������� IE ������� � 4.0
- float - ���������� ��������� �������� ������� ����� ��� ������ ������ ��������� ��� ���.
- float: none|left|right;
- float: none; - ���������� ������� �������� ���������� ���, ��� �� ����� (������������ �� ���������);
- float: left; - ������������� ����������� ������� �������� �� ������ ����;
- float: right; - �� ������� ����.
- �������������� IE ������� � 4.0 ��� ������ � ���������� �������� � ������� � 5.0 - ��� ��������� ��������� ��������.
- �������������� NN ������� � 4.0
- vertical-align - ������ ������������ ������������ �������� �������� ������ ��������.
- vertical-align: auto|baseline|sub|super|top|text-top|middle|bottom|text-bottom;
- vertical-align: auto; - ����������� ������� �������� �������� �������� �������� layout-flow;
- vertical-align: baseline; - ������ ������������ ������� ����� �������� �������� �� ������� ����� �������� (������������ �� ���������);
- vertical-align: sub; - ���������� ����� � ������ ������;
- vertical-align: super; - ���������� ����� � ������� ������;
- vertical-align: top; - ����������� ���� �������� �������� �� ������ ����� ��������;
- vertical-align: text-top; - ����������� ���� ������ �������� �������� �� ����� ������ ��������;
- vertical-align: middle; - ����������� ����� �������� �������� �� ������ ��������;
- vertical-align: bottom; - ����������� ��� �������� �������� �� ���� ��������;
- vertical-align: text-bottom; - ����������� ��� ������ �������� �������� �� ���� ������ ��������.
- �������������� IE ������� � 4.0
- overflow - ������ ��������� �������� ��������, ���� ���������� � ��� �� ����������.
- overflow: visible|scroll|hidden|auto;
- overflow: visible; - ���������� ������� �������� ����������� ���, ����� ��� ��� ���������� ���� ����� (�������� �� ���������);
- overflow: scroll; - ���������� Web-������������ ���������� � �������� �������� ������ ���������, ��������� �������� ����� ������������ ��� ����������;
- overflow: hidden; - �������� ��� ��, ��� ������� �� ������� �������� ��������;
- overflow: auto; - ���������� scroll �� ��� �����������, ��� ������ ��������� ������������ ������ �����, ����� ��� ������� ���������� (�������� �� ��������� ��� <TEXTAREA>).
- �������������� IE ������� � 4.0
- overflow-x - ������ ��������� �������� ��������, ���� ��� ������ ������ ������ �����������.
- overflow-x: visible|scroll|hidden|auto;
- overflow: visible; - ���������� ������� �������� ����������� �� ����������� ���, ����� ��� ��� ���������� ���� ����� (�������� �� ���������);
- overflow: scroll; - ���������� Web-������������ ���������� � �������� �������� ������ ���������, ��������� �������� ����� ������������ ��� ����������;
- overflow: hidden; - �������� ��� ��, ��� ������� �� ������� �������� ��������;
- overflow: auto; - ���������� scroll �� ��� �����������, ��� ������ ��������� ������������ ������ �����, ����� ��� ������� ���������� (�������� �� ��������� ��� <TEXTAREA>).
- �������������� IE ������� � 4.0
- overflow-y - ������ ��������� �������� ��������, ���� ��� ������ ������ ������ ��� �����������.
- overflow-y: visible|scroll|hidden|auto;
- overflow: visible; - ���������� ������� �������� ����������� �� ��������� ���, ����� ��� ��� ���������� ���� ����� (�������� �� ���������);
- overflow: scroll; - ���������� Web-������������ ���������� � �������� �������� ������ ���������, ��������� �������� ����� ������������ ��� ����������;
- overflow: hidden; - �������� ��� ��, ��� ������� �� ������� �������� ��������;
- overflow: auto; - ���������� scroll �� ��� �����������, ��� ������ ��������� ������������ ������ �����, ����� ��� ������� ���������� (�������� �� ��������� ��� <TEXTAREA>).
- �������������� IE ������� � 4.0
- zoom - ������ ������� ����������� �������� ��������.
- zoom: normal|{�������}|{�������}%;
- ������� ����� ���� ����� ��� ������ � ��������� ������, ������������ ������� ���������� ��� ����������, ��� � ���������� ���������. ���������������� �������� normal ������ ������� 1.0 ��� 100%.
- �������� �� ��������� normal.
- �������������� IE ������� � 5.5
- table-lowout - ��������� "�������������" �������� ������ ����� �������.
- table-lawout: auto|fixed;
- table-lawout: auto; - ������������� ������ ������ �� ������ �� ����������� (�������� �� ���������);
- table-lawout: fixed; - ���������� ��� ��������� ����� ����� �������� ��������� WIDTH ���, ���� ��� �� ������, ������ ���� ������� ������ ������.
- ������� �������, ������� �������� auto �������� ����� "���������" �������� ����� �����, �� ������� ��� ���� ����� ���������� ����� �����. �������� fixed ����� �������� �������� Web-������������ ������� ������� ����������� �������, �� Web-�������� ������ ����� ��� ������ �������� ����� �����. ��� ����� ������ �������� ����� ������� ������ �� �����.
- ����������� ������ ��� ���� <TABLE>.
- �������������� IE ������� � 5.0
|
������ / � ����������
|
1,
2,
3,
4,
5,
[6], 7,
8,
9,
10,
11,
12,
13,
14
>>> |
�� ���������� ����� ��������� ������� "JavaScript � Web-�������" www.bhv.ru, www.bhv.kiev.ua |
|
��� ������: |
01.03.2004
���� �� �� �����, ��� ��������� ������ � ����� ��� �������� ���������, ��� ��� �������, ����� ���������� ��� ������ ������������ ������ ��� ��� �������������� �������������, ��� ��� ��������� ������ � HTML-����, ����� ������� ��� ��� ��� �����.
|
�����������: |
| ��������: |
|
|
|