{"id":192408,"date":"2013-09-03T17:03:03","date_gmt":"2013-09-03T13:03:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=192408"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=192408","title":{"rendered":"<span class=\"post_title\">-ms-filter \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u044e\u0449\u0438\u0439 \u0431\u0430\u0433\u0438. \u0411\u0443\u0434\u044c\u0442\u0435 \u0431\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u044b<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/0c4\/859\/163\/0c48591639e89c13e81c389b07d5d791.png\" alt=\"CSS -ms-filter bug\"\/><\/p>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442, <b>%username%<\/b>.<\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u0431\u0435\u0437\u043e\u0431\u0438\u0434\u043d\u044b\u0439, \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043a\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043d\u0435\u0434\u043e\u0443\u043c\u0435\u043d\u0438\u0435 \u2014 \u043c\u0435\u043d\u044e \u0442\u0438\u043f\u0430 dropdown \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 IE 7-8 \u0438\u0437-\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0444\u043e\u043d\u0430 \u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0412 CSS \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u2014 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/gradient\">linear-gradient()<\/a>. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0435\u0439 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c\u043c\u0430 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435. \u041d\u043e \u0432\u043e\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 Internet Explorer, \u0434\u043e \u0434\u0435\u0432\u044f\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0434\u0430\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u0435\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u0431\u043e\u0437\u0440\u0435\u0432\u0430\u0442\u0435\u043b\u044f \u0438, \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0435, \u0438\u043c\u0435\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0432 \u0432\u0438\u0434\u0435 CSS \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043d\u0435\u0433\u043e. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"css\">div {       filter: progid:DXImageTransform.Microsoft.Gradient(params);       -ms-filter: &quot;progid: DXImageTransform.Microsoft.Gradient(params); } <\/code><\/pre>\n<p><sup>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e <b>-ms-filter<\/b> \u2014 \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ie\/ms530752(v=vs.85).aspx\">\u043d\u043e\u0432\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 Microsoft<\/a>.<br \/>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u0435 \u0434\u043b\u044f IE \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c \u043d\u0430 htmlbook: <a href=\"http:\/\/htmlbook.ru\/css\/filter\/gradient\">http:\/\/htmlbook.ru\/css\/filter\/gradient<\/a><\/sup><\/p>\n<p>  \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0438 \u0437\u0430\u043d\u044f\u0442\u043d\u043e\u0433\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u041d\u043e, \u043a\u0430\u043a \u0438 \u0432 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u043a\u043e\u0441\u0442\u044b\u043b\u0435\u0439 \u0434\u043b\u044f IE, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0436\u0434\u0430\u0442\u044c \u0441\u0442\u043e\u0438\u0442 \u043d\u0435 \u0432 \u0441\u0442\u0430 \u043f\u0440\u043e\u0446\u0435\u043d\u0442\u0430\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432.<\/p>\n<h4>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438<\/h4>\n<p>  \u0424\u0438\u043b\u044c\u0442\u0440 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u0430, \u043a\u0430\u043a \u0438 \u0432\u0441\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 CSS \u043f\u0440\u0430\u0432\u0438\u043b \u0432 \u0441\u0442\u0430\u0440\u044b\u0445 IE, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 JavaScript, \u0430 \u043b\u0438\u0448\u043d\u0438\u0439 JS \u0441\u0443\u043b\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438.<\/p>\n<p>  \u041d\u0435 \u0441\u043a\u0430\u0436\u0443 \u0447\u0442\u043e \u0431\u0430\u0433 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439, \u043d\u043e \u0438 \u043d\u0435 \u0438\u0437 \u0440\u0430\u0437\u0440\u044f\u0434\u0430 \u043d\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0445. \u0414\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0435 \u043c\u0435\u043d\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c HTML \u0438 CSS \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>  \u042f \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u043c\u0435\u043d\u044e \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">HTML<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"html\">&lt;!DOCTYPE html&gt; &lt;html lang=&quot;en&quot;&gt; &lt;head&gt; \t&lt;meta charset=&quot;utf-8&quot; \/&gt; \t&lt;title&gt;-ms-filter bug in IE 7-8&lt;\/title&gt; \t&lt;meta name=&quot;description&quot; content=&quot;A bug occurs in IE 7-8 when using the -ms-filter and CSS dropdown menu.&quot; \/&gt; \t&lt;meta name=&quot;keywords&quot; content=&quot;ms filter, css filter, bug, microsoft, habrahabr demo&quot; \/&gt; \t&lt;meta name=&quot;author&quot; content=&quot;BR0kEN, Firstvector.org&quot; \/&gt;  \t&lt;link rel=&quot;stylesheet&quot; href=&quot;menu.css&quot; \/&gt; \t&lt;!--[if lt IE 10]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;ie.css&quot; \/&gt;&lt;![endif]--&gt; \t&lt;!--[if lt IE 8]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;ie7.css&quot; \/&gt;&lt;![endif]--&gt; &lt;\/head&gt; &lt;body role=&quot;document&quot;&gt; \t&lt;ul class=&quot;nav wrap clr&quot;&gt; \t\t&lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;&quot;&gt;Home&lt;\/a&gt;&lt;\/li&gt; \t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Currency&lt;\/a&gt;&lt;\/li&gt; \t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Macroeconomic analysis&lt;\/a&gt; \t\t\t&lt;ul class=&quot;sub-menu&quot;&gt; \t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Dean's FX&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Economic exposure&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Market pulse&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Central bank watch&lt;\/a&gt;&lt;\/li&gt; \t\t\t&lt;\/ul&gt; \t\t&lt;\/li&gt; \t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Technical analysis&lt;\/a&gt; \t\t\t&lt;ul class=&quot;sub-menu&quot;&gt; \t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Forex&lt;\/a&gt; \t\t\t\t\t&lt;ul class=&quot;sub-menu&quot;&gt; \t\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;USD&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;GBP&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;EUR&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;AUD&lt;\/a&gt;&lt;\/li&gt; \t\t\t\t\t&lt;\/ul&gt; \t\t\t\t&lt;\/li&gt; \t\t\t&lt;\/ul&gt; \t\t&lt;\/li&gt; \t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Forex news&lt;\/a&gt;&lt;\/li&gt; \t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Economic calendar&lt;\/a&gt;&lt;\/li&gt; \t\t&lt;li&gt;&lt;a href=&quot;&quot;&gt;Education&lt;\/a&gt;&lt;\/li&gt; \t&lt;\/ul&gt; &lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">menu.css<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"css\">\/* Base *\/ body { \tfont-size:16px; \tfont-family:Arial, Verdana; \tbackground:#f5f5f5; } a { \ttext-decoration:none; \t-webkit-transition:all linear .3s; \t-moz-transition:all linear .3s; \ttransition:all linear .3s; } ul { \tpadding:0; \twidth:1024px; \tmargin:0 auto; \tlist-style:none; } .clr:before, .clr:after { \tcontent:''; \tdisplay:table; } .clr:after { \tclear:both; }  \/* Menu *\/ .nav { \tbackground:#4f4f4f; \tbackground:-moz-linear-gradient(top,#4f4f4f 0%,#494949 21%,#343434 67%,#292929 100%); \tbackground:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#4f4f4f),color-stop(21%,#494949),color-stop(67%,#343434),color-stop(100%,#292929)); \tbackground:-webkit-linear-gradient(top,#4f4f4f 0%,#494949 21%,#343434 67%,#292929 100%); \tbackground:-o-linear-gradient(top,#4f4f4f 0%,#494949 21%,#343434 67%,#292929 100%); \tbackground:-ms-linear-gradient(top,#4f4f4f 0%,#494949 21%,#343434 67%,#292929 100%); \tbackground:linear-gradient(to bottom,#4f4f4f 0%,#494949 21%,#343434 67%,#292929 100%); \tborder-bottom:1px solid #cbcbca; } .nav &gt; li { \tfloat:left; } .nav &gt; li, .nav &gt; li &gt; a { \tcolor:#fff; \tborder-right:1px solid #dedede; } .nav li { \tposition:relative; \tline-height:34px; } .nav &gt; li:hover, .nav &gt; .active { \tbackground:#635f5f; \tbackground:-moz-linear-gradient(top,#635f5f 0%,#5a5656 30%,#484545 70%,#3f3c3c 100%); \tbackground:-webkit-gradient(linear,left top,left bottom, color-stop(0%,#635f5f),color-stop(30%,#5a5656),color-stop(70%,#484545),color-stop(100%,#3f3c3c)); \tbackground:-webkit-linear-gradient(top,#635f5f 0%,#5a5656 30%,#484545 70%,#3f3c3c 100%); \tbackground:-o-linear-gradient(top,#635f5f 0%,#5a5656 30%,#484545 70%,#3f3c3c 100%); \tbackground:-ms-linear-gradient(top,#635f5f 0%,#5a5656 30%,#484545 70%,#3f3c3c 100%); \tbackground:linear-gradient(to bottom,#635f5f 0%,#5a5656 30%,#484545 70%,#3f3c3c 100%); } .nav a { \tdisplay:block; \tcolor:#505050; \tpadding:0 12px; \tfont-size:16px; \ttext-transform:capitalize; } .nav .sub-menu { \tdisplay:none; \tposition:absolute; \tz-index:9999; \tleft:-2px; \ttop:100%; \twidth:230px; \tbackground:#fff; \tbox-shadow:0 1px 5px rgba(0,0,0,.3); } .nav .sub-menu ul { \ttop:40%; \tleft:95%; } .nav li:hover &gt; ul { \tdisplay:block; } .nav .sub-menu li { \tborder-bottom:1px dotted #ccc; } .nav .sub-menu li:hover &gt; a { \tbackground:#e8e8e8; } <\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">ie.css<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"css\">.nav { \tzoom:1; \tfilter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4f4f4f',endColorstr='#292929',GradientType=0); } .nav &gt; .active, .nav &gt; li:hover { \tfilter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#635f5f',endColorstr='#3f3c3c',GradientType=0); } <\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">ie7.css<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"css\">.nav .sub-menu { \tborder:1px dotted #ccc; } .nav .sub-menu a { \theight:34px; } <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <b>\u0414\u0435\u043c\u043e:<\/b> <a href=\"http:\/\/firstvector.org\/examples\/ms-filter\/index.html\">http:\/\/firstvector.org\/examples\/ms-filter\/index.html<\/a>.<\/p>\n<p>  \u0412\u044b\u0448\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043c\u0435\u043d\u044e \u0438 \u043e\u043d\u0438 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043e\u0431\u043e\u0437\u0440\u0435\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043e\u043a\u0440\u043e\u043c\u044f IE. \u0414\u0430\u043b\u0435\u0435, \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f, \u0438\u0434\u0443\u0442 \u0441\u0442\u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f IE \u0434\u0435\u0432\u044f\u0442\u043e\u0439 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0440\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439, \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u2014 \u0434\u043b\u044f \u0441\u0435\u0434\u044c\u043c\u043e\u0439 (\u0432\u043e\u043e\u0431\u0449\u0435 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u043d\u0438\u0436\u0435 \u0441\u0435\u0434\u044c\u043c\u043e\u0439, \u043d\u043e \u043e\u043d\u0438 \u043d\u0430\u0441 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442).<\/p>\n<p>  \u0422\u0430\u043a \u0432\u043e\u0442, \u043a\u0430\u043a \u043c\u044b \u043f\u043e\u043c\u043d\u0438\u043c, \u0443\u0436\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 IE9 \u0444\u0443\u043d\u043a\u0446\u0438\u044f<b>-ms-linear-gradient()<\/b> \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438 \u0435\u0439 \u043d\u0430 \u0437\u0430\u043c\u0435\u043d\u0443 \u043f\u0440\u0438\u0434\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e -ms-filter \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 <b>ie.css<\/b>. <\/p>\n<h5>\u0425\u0440\u043e\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439<\/h5>\n<p>  <b>IE9<\/b> \u2014 \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043d\u0430\u0434\u043e.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/c84\/386\/6fe\/c843866fe9d8bb8556bd704007831ab3.png\"\/><\/div>\n<\/div>\n<p>  <b>IE8<\/b> \u2014 \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u043c\u0435\u043d\u044e \u043d\u0435\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/bab\/5cd\/006\/bab5cd006b3d90e3b52e9fa55a413ce9.png\"\/><\/div>\n<\/div>\n<p>  \u0425\u043e\u0442\u044f, \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f \u0432 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u043c\u0435\u043d\u044e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u043b\u043e\u0441\u044c, \u043f\u0440\u0430\u0432\u0434\u0430 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0435\u0433\u043e \u0442\u0430\u043a\u043e\u0432\u043e, \u0431\u0443\u0434\u0442\u043e \u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0435\u0433\u043e \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e <code>overflow: hidden;<\/code>. \u041d\u043e \u043c\u044b \u0437\u043d\u0430\u0435\u043c \u0447\u0442\u043e \u0435\u0433\u043e \u043d\u0435\u0442 \u0438 \u0437\u043d\u0430\u0435\u043c \u0432 \u043f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u041e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 <b>ie.css<\/b> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435:<\/p>\n<pre><code class=\"css\">.nav { \tzoom:1; } <\/code><\/pre>\n<p>  \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u2014 \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u0430\u043c\u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/259\/be4\/ae7\/259be4ae730479d502571a262bf620a7.png\"\/><\/div>\n<\/div>\n<p>  \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c <b>ie.css<\/b> \u043a \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0432\u0438\u0434\u0443 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0432 <b>IE7<\/b> \u2014 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f41\/33c\/e18\/f4133ce1854009babfe005010a93a01a.png\"\/><\/div>\n<\/div>\n<p>  \u041e\u0436\u0438\u0434\u0430\u0435\u043c\u043e, \u0442.\u043a. \u0432 \u0432\u043e\u0441\u044c\u043c\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0431\u044b\u043b\u043e \u0442\u0430\u043a\u0436\u0435. \u041d\u043e, \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0434\u0430\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u0432 \u044d\u0442\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043b\u0438\u0448\u044c \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0439 \u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043d\u0430 \u043f\u0443\u043d\u043a\u0442. \u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c <b>ie.css<\/b> \u043a \u0432\u0438\u0434\u0443:<\/p>\n<pre><code class=\"css\">.nav { \tzoom:1; \tfilter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4f4f4f',endColorstr='#292929',GradientType=0); } .nav &gt; .active { \tfilter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#635f5f',endColorstr='#3f3c3c',GradientType=0); } <\/code><\/pre>\n<p>  \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u2014 \u0432\u043d\u043e\u0432\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u043f\u0440\u0438 hover-\u044d\u0444\u0444\u0435\u043a\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u043e\u043d\u043e\u0442\u043e\u043d\u043d\u044b\u0439 \u0446\u0432\u0435\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/067\/8a7\/607\/0678a7607207ef8c56160f4d943a83c3.png\"\/><\/div>\n<\/div>\n<p>  <sup><b>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/b> \u0434\u043b\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0435\u0442 \u0440\u0430\u0437\u043d\u0438\u0446\u044b \u0432 \u0442\u043e\u043c, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0438\u043c\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430: <b>-ms-filter<\/b> \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e <b>filter<\/b>, \u0431\u0430\u0433 \u0434\u0430\u0441\u0442 \u043e \u0441\u0435\u0431\u0435 \u0437\u043d\u0430\u0442\u044c \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435.<\/sup><\/p>\n<h4>\u0418\u0442\u043e\u0433\u0438<\/h4>\n<p>  \u041d\u0435\u0440\u0435\u0434\u043a\u043e \u0432\u0435\u0440\u0441\u0442\u0430\u043b\u044c\u0449\u0438\u043a\u0430\u043c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u0435 \u043c\u0435\u043d\u044e \u0441 \u043d\u0430\u043b\u0438\u0447\u0438\u0435\u043c \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0444\u043e\u043d\u0430 \u0443 \u0432\u0438\u0434\u0438\u043c\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u043e-\u044d\u0442\u043e\u043c\u0443, \u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u043f\u0440\u0438 \u0432\u0435\u0440\u0441\u0442\u043a\u0435 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u043e\u0441\u0442\u044c. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0430, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u0430\u044f \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442 \u043a\u043e\u0433\u043e-\u0442\u043e \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0440\u0443\u0441\u043b\u043e.<\/p>\n<p>  <b>p.s.<\/b> \u042f \u043d\u0435 \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u044e\u0441\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u043c\u0438\u043c\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043d\u0430 \u044d\u0442\u043e\u0439 \u0436\u0435 \u043f\u043e\u0447\u0432\u0435, \u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u0438\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043f\u0440\u0435\u043e\u0434\u043e\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>  <i>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/i>    \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\/192408\/\"> http:\/\/habrahabr.ru\/post\/192408\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/0c4\/859\/163\/0c48591639e89c13e81c389b07d5d791.png\" alt=\"CSS -ms-filter bug\"\/><\/p>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442, <b>%username%<\/b>.<\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u0431\u0435\u0437\u043e\u0431\u0438\u0434\u043d\u044b\u0439, \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043a\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043d\u0435\u0434\u043e\u0443\u043c\u0435\u043d\u0438\u0435 \u2014 \u043c\u0435\u043d\u044e \u0442\u0438\u043f\u0430 dropdown \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 IE 7-8 \u0438\u0437-\u0437\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0444\u043e\u043d\u0430 \u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430.  <\/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-192408","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/192408","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=192408"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/192408\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}