diff --git a/3.1.html b/3.1.html new file mode 100644 index 0000000..77a6d0c --- /dev/null +++ b/3.1.html @@ -0,0 +1,85 @@ + + + + 3.1 + + + + Домашка 3.1 + Выравнивание блока 100х100 по центру + + margin: 0 auto (можно и просто margin: auto) +
+ + table align="center" +
+ + + parent_div text-align:center;
+ div display: inline-block;
+
+
+
+
+ + + table text-align: center;
+ td width: 1280px;
+ div display: inline-block;
+
+ + + + +
+
+
+ + \ No newline at end of file diff --git a/3.2.html b/3.2.html new file mode 100644 index 0000000..603954f --- /dev/null +++ b/3.2.html @@ -0,0 +1,74 @@ + + + + 3.2 + + + + Домашка 3.2 + Выравнивание блока, с шириной по содержимому, по центру + + table align="center" +
Some awesome content here!
+ + + parent_div text-align:center;
+ div display: inline-block;
+
+
+
Some crazy content here!
+
+ + + table text-align: center;
+ td width: 1280px;
+ div display: inline-block;
+
+ + + + +
+
Some "important!" content here!
+
+ + \ No newline at end of file diff --git a/3.3.html b/3.3.html new file mode 100644 index 0000000..b7d3a69 --- /dev/null +++ b/3.3.html @@ -0,0 +1,39 @@ + + + + 3.3 + + + + Домашка 3.3 + Страница из двух колонок. Левая шириной 300px, правая занимает всё оставшееся пространство +
+
+ + \ No newline at end of file diff --git a/3.4.html b/3.4.html new file mode 100644 index 0000000..215262e --- /dev/null +++ b/3.4.html @@ -0,0 +1,43 @@ + + + + 3.4 + + + + Домашка 3.4 + Страница из двух колонок. Левая шириной от 150px до 300px, правая занимает всё оставшееся пространство +
Small content
+
+
+
Larege content large content large content large content
+
+ + \ No newline at end of file