Работа в Internet и создание web-страниц. Эксаревская М.Е. - 44 стр.

UptoLike

Составители: 

body { background-image: url
(
http://vasiapup.com/pictures/bg.gif); background-
repeat: repeat-y}
ȼ ɷɬɨɦ ɩɪɢɦɟɪɟ ɮɨɧɨɜɵɣ ɪɢɫɭɧɨɤ ɩɨɜɬɨɪɹɟɬɫɹ ɩɨ ɜɟɪɬɢɤɚɥɢ.
Ɍɚɛɥɢɰɚ 3
ɋɜɨɣɫɬɜɚ CSS ɞɥɹ ɭɩɪɚɜɥɟɧɢɹ ɰɜɟɬɨɦ ɢ ɮɨɧɨɦ
ɋɜɨɣɫɬɜɨ Ɂɧɚɱɟɧɢɟ Ɉɩɢɫɚɧɢɟ ɉɪɢɦɟɪ
color
ɐɜɟɬ
ɍɫɬɚɧɚɜɥɢɜɚɟɬ ɰɜɟɬ
ɬɟɤɫɬɚ
P{color:#999999}
ɐɜɟɬ ɮɨɧɚ
ɐɜɟɬ ɋɩɥɨɲɧɨɣ ɰɜɟɬ
Background-
color
transparent ɉɪɨɡɪɚɱɧɵɣ ɮɨɧ
BODY{
Background-color:
#888888}
Ɏɨɧɨɜɵɣ ɪɢɫɭɧɨɤ
URL URL ɪɢɫɭɧɤɚ
Background-
image
none ɇɟɬ ɪɢɫɭɧɤɚ
BODY{Background-
image:
url(pictures/bg.gif)}
ɉɨɜɬɨɪɹɟɦɨɫɬɶ
ɮɨɧɨɜɨɝɨ ɪɢɫɭɧɤɚ
Repeat ɉɨɜɬɨɪɹɟɬ ɪɢɫɭɧɨɤ
ɩɨ ɝɨɪɢɡɨɧɬɚɥɢ
ɢ ɜɟɪɬɢɤɚɥɢ
Repeat-x ɉɨɜɬɨɪɹɟɬ ɪɢɫɭɧɨɤ
ɬɨɥɶɤɨ ɩɨ
ɝɨɪɢɡɨɧɬɚɥɢ
Repeat-y ɉɨɜɬɨɪɹɟɬ ɪɢɫɭɧɨɤ
ɬɨɥɶɤɨ ɩɨ ɜɟɪɬɢɤɚɥɢ
Background-
repeat
No-repeat ɇɟ ɩɨɜɬɨɪɹɟɬ ɪɢɫɭɧɨɤ
{Background-repeat:
repeat-y}
ɉɪɨɤɪɭɱɢɜɚɟɦɨɫɬɶ
ɮɨɧɚ ɜɦɟɫɬɟ
ɫ ɞɨɤɭɦɟɧɬɚɦɢ
Scroll Ɏɨɧ ɩɪɨɤɪɭɱɢɜɚɟɬɫɹ
Background-
attachment
fixed Ɏɨɧ ɧɟ
ɩɪɨɤɪɭɱɢɜɚɟɬɫɹ
BODY{ Background-
image:
url(pictures/bg.gif)
Background-
attachment: fixed}
44
    body { background-image: url
(http://vasiapup.com/pictures/bg.gif); background-
repeat: repeat-y}
� ���� ������� ������� ������� ����������� �� ���������.
                                                               ������� 3
              �������� CSS ��� ���������� ������ � �����
  ��������       ��������           ��������                ������
    color                       ������������� ����
                   ����                                P{color:#999999}
                                      ������
                                    ���� ����              BODY{
Background-
                   ����          �������� ����         Background-color:
    color
                 transparent     ���������� ���           #888888}
                                 ������� �������      BODY{Background-
Background-
                   URL            URL �������                image:
   image
                   none            ��� �������        url(pictures/bg.gif)}
                                 �������������
                                 �������� �������
                  Repeat        ��������� �������
                                  �� �����������
                                    � ���������
Background-                                           {Background-repeat:
                  Repeat-x      ��������� �������
   repeat                                                  repeat-y}
                                    ������ ��
                                   �����������
                  Repeat-y      ��������� �������
                                ������ �� ���������
                 No-repeat     �� ��������� �������
                                ����������������
                                                      BODY{ Background-
                                   ���� ������
                                                             image:
Background-                       � �����������
                                                       url(pictures/bg.gif)
 attachment        Scroll      ��� ��������������
                                                          Background-
                   fixed             ��� ��            attachment: fixed}
                                  ��������������

                                   44