{"id":183542,"date":"2013-06-17T15:02:03","date_gmt":"2013-06-17T11:02:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=183542"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=183542","title":{"rendered":"<span class=\"post_title\">\u0412\u0435\u0440\u0441\u0442\u043a\u0430: \u0434\u0432\u0430 \u0431\u043b\u043e\u043a\u0430 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0439 \u0432\u044b\u0441\u043e\u0442\u044b<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h4>\u0417\u0430\u0434\u0430\u0447\u0430<\/h4>\n<p>  \u0417\u0430\u0434\u0430\u043d\u044b \u0434\u0432\u0430 \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u2013 \u043e\u0434\u0438\u043d \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0441\u0442\u0430\u0442\u044c\u0438 (\u0448\u0438\u0440\u0438\u043d\u0430 75% \u043e\u0442 \u0448\u0438\u0440\u0438\u043d\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430), \u0434\u0440\u0443\u0433\u043e\u0439 \u0441 \u043f\u0435\u0440\u0435\u0447\u043d\u0435\u043c \u0441\u0441\u044b\u043b\u043e\u043a \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 (\u0448\u0438\u0440\u0438\u043d\u0430 25%). \u0412\u044b\u0441\u043e\u0442\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0433\u043e \u0441\u0442\u0430\u0442\u044c\u044e \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u043b\u043e\u043a\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u043c. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e \u0431\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0431\u043b\u043e\u043a \u0441 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0435\u0439 \u043e\u0431\u043b\u0430\u0434\u0430\u043b \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0432\u044b\u0441\u043e\u0442\u044b \u043a\u0430\u043a \u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 \u0441\u0442\u0430\u0442\u044c\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0420\u0430\u043d\u0435\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0440\u0435\u0448\u0430\u043b\u0438\u0441\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e TABLE-TR-TD \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0442\u044d\u0433\u043e\u0432, \u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0430\u0440\u0443\u0448\u0430\u043b \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u043e\u0442\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 (markup \u2014 HTML) \u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0438\u0445 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 (styling \u2014 CSS), \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0438 \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u043c\u0438, \u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u043e\u043c\u0443 \u043c\u0435\u0442\u043e\u0434 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435:  <\/p>\n<pre><code class=\"html\">&lt;table&gt;   &lt;tr&gt;     &lt;td id=\u201dnavigation\u201d&gt;       ...\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c a-href \u0441\u0441\u044b\u043b\u043e\u043a...     &lt;\/td&gt;     &lt;td id=\u201dcontent\u201d&gt;       ..\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0442\u0430\u0442\u044c\u0438...     &lt;\/td&gt;   &lt;\/tr&gt; &lt;\/table&gt; <\/code><\/pre>\n<p>  \u041f\u043e\u0437\u0436\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442 \u0421SS \u0431\u044b\u043b \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 table, table-cell \u0434\u043b\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 display, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0435 DIV, SPAN \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 html-\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0438\u0445 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 css-\u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0449\u0438\u043c\u0438\u0441\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043d\u043e\u043c \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u043a\u0430\u043a \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435 \u0442\u0430\u043a \u0438 \u043f\u043e \u0432\u044b\u0441\u043e\u0442\u0435:  <\/p>\n<pre><code class=\"html\">&lt;div id=\u201dwrapper\u201d&gt;   &lt;div id=\u201dnavigation\u201d&gt;     ...\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c a-href \u0441\u0441\u044b\u043b\u043e\u043a...   &lt;\/div&gt;   &lt;div id=\u201dcontent\u201d&gt;     ...\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0442\u0430\u0442\u044c\u0438...   &lt;\/div&gt; &lt;\/div&gt; <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"css\">#wrapper { display: table; } #navigation, #content { display: table-cell } <\/code><\/pre>\n<p>  \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u043b\u0430 \u0440\u0435\u0448\u0435\u043d\u0430, \u043d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0432 \u0441\u0442\u0430\u0440\u0448\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 (IE 6, IE 7) \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u0435\u0440\u0441\u0442\u0430\u043b\u044c\u0449\u0438\u043a\u043e\u0432 \u0438\u0441\u043a\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044b. \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u043c \u0441\u0442\u0430\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432-\u043e\u0431\u0435\u0440\u0442\u043e\u043a \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0440\u0443\u0433-\u0434\u0440\u0443\u0433\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430 \u0440\u0430\u0432\u043d\u044b\u0445 \u043f\u043e \u0432\u044b\u0441\u043e\u0442\u0435 \u043a\u043e\u043b\u043e\u043d\u043e\u043a:  <\/p>\n<pre><code class=\"html\">&lt;div id=&quot;bg-one&quot;&gt;       &lt;div id=&quot;bg-two&quot;&gt;         &lt;div id=&quot;navigation&quot;&gt;           ...\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c a-href \u0441\u0441\u044b\u043b\u043e\u043a...         &lt;\/div&gt;            &lt;div id=&quot;content&quot;&gt;           ...\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435...         &lt;\/div&gt;       &lt;\/div&gt;     &lt;\/div&gt;  <\/code><\/pre>\n<p>   <\/p>\n<pre><code class=\"css\">#navigation, #content {                                                             position: relative;                                                               float: left;                                                                      left: -50%;                                                                     }                                                                                                                                                               #navigation {                                                                       width: 50%;                                                                     }                                                                                                                                                                   #bg-one, #bg-two {                                                                   position:relative;                                                                float: left;                                                                      width: 100%;                                                                      background-color: #9988ff;                                                      }                                                                                                                                                     #bg-one {                                                                           overflow: hidden;                                                                }                                                                                                                                                                   #bg-two {                                                                           left: 50%;                                                                        background-color: #99ff99;                                                      }                                                            <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/01d\/93f\/97c\/01d93f97ca9826f80bce617b234a4dd4.jpg\"\/><br \/>  \u0420\u043e\u043b\u044c \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0437\u0434\u0435\u0441\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u043e\u0431\u0435\u0440\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0442\u044d\u0433\u0438 (#bg-one, #bg-two) \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u043d\u0438\u0445 \u0442\u044d\u0433\u0438 \u0441 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c (#content, #navigation). \u0422\u0430\u043a\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u0432 IE 6, \u043d\u043e \u0435\u0435 \u043e\u0449\u0443\u0442\u0438\u043c\u044b\u043c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 (#bg-one, #bg-two) \u043e\u0431\u0435\u0440\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u044d\u0433\u0438 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u043a\u043e\u043b\u043e\u043d\u043e\u043a (#content, #navigation). \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0431\u0435\u0440\u0442\u043e\u043a (#bg-N) \u0440\u0430\u0432\u043d\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0431\u043b\u043e\u0447\u043d\u044b\u0445-\u0442\u044d\u0433\u043e\u0432 \u0441 \u043a\u043e\u043b\u043e\u043d\u043e\u043a\u0430\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430. \u0412 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u043c \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0435\u0449\u0435 \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 (\u0441\u043a\u0430\u0436\u0435\u043c #advertisement) \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u0441 #navigation \u0438 #content \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043e\u0431\u0449\u0438\u0439 \u043e\u0431\u0435\u0440\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 bg-three:  <\/p>\n<pre><code class=\"html\">&lt;div id=&quot;bg-one&quot;&gt;                                                                   &lt;div id=&quot;bg-two&quot;&gt;                                                                     &lt;div id=&quot;bg-three&quot;&gt;                                                                                                                                                      &lt;div id=&quot;navigation&quot;&gt;                                                                     ..\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u0441\u044b\u043b\u043e\u043a a href...                                                                                  &lt;\/div&gt;                                                                                                                                                                   &lt;div id=&quot;content&quot;&gt;                                                                        ..\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438....                                                                  &lt;\/div&gt;                                                                                                                                                                   &lt;div id=&quot;advertisement&quot;&gt;                                                                  ...\u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f...                                                                               &lt;\/div&gt;                                                                                                                                                                 &lt;\/div&gt;                                                                              &lt;\/div&gt;                                                                            &lt;\/div&gt;  <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"css\">#navigation, #content, #advertisement {                                             position: relative;                                                               float: left;                                                                      left: -64%;                                                                     }                                                                                                                                                                   #navigation,#content {                                                              width: 32%;                                                                     }                                                                                                                                                                   #bg-one, #bg-two, #bg-three {                                                       position: relative;                                                               float: left;                                                                      width: 100%;                                                                      background-color: #9988ff;                                                      }                                                                                                                                                                   #bg-one {                                                                           overflow: hidden;                                                               }                                                                                                                                                                   #bg-two {                                                                           left: 32%;                                                                        background-color: #99ff99;                                                      }                                                                                                                                                                   #bg-three {                                                                         left: 32%;                                                                        background-color: #a0a0a0;                                                      }                                                                                  <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/bfd\/8f7\/31d\/bfd8f731dfc5cebaafdcbeecd2879858.jpg\"\/><br \/>  \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 html-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f \u2013 \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u043e\u0431\u0435\u0440\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0442\u044d\u0433\u043e\u0432 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044f\u0441\u044c \u043e\u0442 html-\u0442\u0430\u0431\u043b\u0438\u0446 \u0438\u0437-\u0437\u0430 \u043f\u043b\u043e\u0445\u043e\u0439 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u043c\u044b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043c \u043a \u0435\u0449\u0435 \u043c\u0435\u043d\u0435\u0435 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u043a\u043e\u0434\u0443. \u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u043e\u0431\u0435\u0440\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0442\u044d\u0433\u0438 \u043d\u0430 \u043e\u0434\u0438\u043d \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438:<\/p>\n<pre><code class=\"html\">&lt;div id=&quot;wrapper&quot;&gt;                                                                                                                                                   &lt;div id=&quot;navigation-bg&quot;&gt;&lt;\/div&gt;                                                        &lt;div id=&quot;navigation&quot;&gt;                                                                   ..\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u0441\u044b\u043b\u043e\u043a \u0441 a href..                                                                                &lt;\/div&gt;                                                                                                                                                               &lt;div id=&quot;content-bg&quot;&gt;&lt;\/div&gt;                                                         &lt;div id=&quot;content&quot;&gt;                                                                    ...\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438...                                                                             &lt;\/div&gt;                                                                                                                                                             &lt;\/div&gt;                                                                             <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"css\">#wrapper{                                                                           position: relative;                                                               float: left;                                                                      width: 100%;                                                                    }                                                                                 #navigation, #content {                                                             position: relative;                                                               float: left;                                                                      width: 50%;                                                                     }                                                                                 #navigation-bg {                                                                    position: absolute;                                                               left: 0;                                                                          width: 50%;                                                                       height: 100%;                                                                     background-color: #ffaaaa;                                                      }                                                                                 #content-bg {                                                                       position: absolute;                                                               left: 50%;                                                                        width: 50%;                                                                       height: 100%;                                                                     background-color: #aaffaa;                                                      }    <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/467\/b89\/9fa\/467b899fa4288e8544adf2605e97dcdb.jpg\"\/><br \/>  \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b c \u0444\u043e\u043d\u043e\u043c (#navigation-bg, #content-bg) \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u043f\u0435\u0440\u0435\u0434 \u0442\u044d\u0433\u0430\u043c\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u043c\u0438 \u0442\u0435\u043a\u0441\u0442 \u043a\u043e\u043b\u043e\u043d\u043e\u043a, \u0447\u0442\u043e \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0430\u0435\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438. \u041d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e IE 6 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 \u0432\u044b\u0441\u043e\u0442\u044b \u0434\u043b\u044f \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u043c \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u0430 \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u0432\u0435\u0436\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 display: table \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043e\u0447\u043d\u044b\u0445 div-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0444\u043e\u043d \u043a\u043e\u043b\u043e\u043d\u043e\u043a (\u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 #content-bg, #navigation-bg).<\/p>\n<h4>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0427\u0438\u0442\u0430\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u0430\u043c\u0435\u0442\u043d\u044b\u043c \u0447\u0442\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 \u0441 \u043f\u0440\u0438\u0446\u0435\u043b\u043e\u043c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 css-\u043f\u0440\u0430\u0432\u0438\u043b\u0430 display: table, \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0434\u0438\u043d \u043b\u0438\u0448\u043d\u0438\u0439 \u0442\u044d\u0433:  <\/p>\n<pre><code class=\"html\">&lt;div id=\u201dwrapper\u201d&gt;   &lt;nav class=\u201dshakespeare\u201d&gt;     ...\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u0441\u044b\u043b\u043e\u043a...   &lt;\/nav&gt;   &lt;article class=\u201dshakespeare\u201d&gt;     ...\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438...   &lt;\/article&gt; &lt;\/div&gt; <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"css\">#wrapper {                                                                          display: table;                                                                 }                                                                                 .shakespeare {                                                                      display: table-cell;                                                              background-color: #f0f0f0;                                                      }  <\/code><\/pre>\n<p>  \u0412\u0435\u0434\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u044b\u0441\u043e\u0442\u044b \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0434\u0432\u0443\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u044b\u0441\u043e\u0442\u0430 \u0431\u043b\u043e\u043a\u0430 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u044d\u0433\u043e\u043c nav \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0432\u044b\u0441\u043e\u0442\u044b \u0431\u043b\u043e\u043a\u0430 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u044d\u0433\u043e\u043c article \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0431\u043b\u043e\u043a article \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0432\u044b\u0441\u043e\u0442\u044b \u0431\u043b\u043e\u043a\u0430 nav. \u0425\u043e\u0442\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0441\u043e\u0442\u0430 \u0431\u043b\u043e\u043a\u0430 nav \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u043e\u0434\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u0432\u044b\u0441\u043e\u0442\u0443 \u0431\u043e\u043b\u0435\u0435 \u0434\u043b\u0438\u043d\u043d\u043e\u0433\u043e \u0442\u044d\u0433\u0430 article \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u043d\u0435\u0439:  <\/p>\n<pre><code class=\"html\">&lt;article&gt;   &lt;aside&gt;     ...\u043f\u0435\u0440\u0435\u0447\u0435\u043d\u044c \u0441\u0441\u044b\u043b\u043e\u043a...   &lt;\/aside&gt;   ..\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 &lt;\/article&gt; <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"css\">article {                                                                           position: relative;                                                               width: 75%;                                                                       left: 25%;                                                                        background-color: #fafafa;                                                      }                                                                                                                                                                   aside {                                                                             position: absolute;                                                               width: 33%;                                                                       left: -33%;                                                                       height: 100%;                                                                     background-color: #f0f0f0;                                                      }      <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0446\u0435\u043d\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0430\u0431\u043e\u043b\u044e\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u043a \u0438 display: table \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 IE \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0432\u043e\u0441\u044c\u043c\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0448\u0438\u0440\u0438\u043d\u044b \u0438 \u0434\u043b\u0438\u043d\u044b \u0431\u043b\u043e\u043a\u0430 aside \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0438\u0437 \u043f\u0435\u0440\u0435\u0441\u0447\u0435\u0442\u0430 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0431\u043b\u043e\u043a\u0430 article, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 CSS \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u043c \u043e\u0442\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441 \u043d\u0435\u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u043c (relative, absolute, fixed) \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 position. \u0422\u043e \u0435\u0441\u0442\u044c \u0448\u0438\u0440\u0438\u043d\u0430 \u0431\u043b\u043e\u043a\u0430 article (\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 75% \u043e\u0442 \u0448\u0438\u0440\u0438\u043d\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430) \u0434\u043b\u044f aside \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0440\u0430\u0432\u043d\u0430 100%, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u044e:  <\/p>\n<pre><code>75% - 100% 25% - ? <\/code><\/pre>\n<p>  \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c   <\/p>\n<pre><code>25% * 100% \/ 75% = 33.33%<\/code><\/pre>\n<p>  \u0422\u043e \u0435\u0441\u0442\u044c 25% \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430 \u0432 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043d\u043e\u043c \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0431\u043b\u043e\u043a\u0430 article.<br \/>  \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u043b\u0438\u0448\u043d\u0435\u0433\u043e wrapper \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u043e\u0442 \u0434\u0440\u0443\u0433\u043e\u0439 \u0432 \u043a\u043e\u0434\u0435 \u0438 \u043d\u0435 \u043f\u0440\u0438\u0431\u0435\u0433\u0430\u0442\u044c \u043a \u043c\u0435\u0442\u043e\u0434\u0443 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0435\u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0434\u0430\u043d\u044b\u0445. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/183542\/\"> http:\/\/habrahabr.ru\/post\/183542\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h4>\u0417\u0430\u0434\u0430\u0447\u0430<\/h4>\n<p>  \u0417\u0430\u0434\u0430\u043d\u044b \u0434\u0432\u0430 \u0431\u043b\u043e\u0447\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u2013 \u043e\u0434\u0438\u043d \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0441\u0442\u0430\u0442\u044c\u0438 (\u0448\u0438\u0440\u0438\u043d\u0430 75% \u043e\u0442 \u0448\u0438\u0440\u0438\u043d\u044b \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430), \u0434\u0440\u0443\u0433\u043e\u0439 \u0441 \u043f\u0435\u0440\u0435\u0447\u043d\u0435\u043c \u0441\u0441\u044b\u043b\u043e\u043a \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 (\u0448\u0438\u0440\u0438\u043d\u0430 25%). \u0412\u044b\u0441\u043e\u0442\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0433\u043e \u0441\u0442\u0430\u0442\u044c\u044e \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u043b\u043e\u043a\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u043c. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e \u0431\u044b \u0432\u0442\u043e\u0440\u043e\u0439 \u0431\u043b\u043e\u043a \u0441 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0435\u0439 \u043e\u0431\u043b\u0430\u0434\u0430\u043b \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0432\u044b\u0441\u043e\u0442\u044b \u043a\u0430\u043a \u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 \u0441\u0442\u0430\u0442\u044c\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-183542","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/183542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183542"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/183542\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}