Home  >  Article  >  Web Front-end  >  Foreground image overlay problem, the foreground image is png, the grid is transparent, and the display is abnormal under ie8_html/css_WEB-ITnose

Foreground image overlay problem, the foreground image is png, the grid is transparent, and the display is abnormal under ie8_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:24:021329browse

25edfb22a4f469ecb59f1190150159c69d6749c87ee7a091975e50e2d2e7487c
                                         g" />< ;/a>
                                                                            acb2c91286fe43bdcd5f22d026ac6a2416b28748ea4df4d9c2150843fecfba68
li>

As shown below, it is normal in Firefox, Google, etc., but it is like this under IE8
Abnormal

Normal

Foreground image



Which master can help solve it?


Reply to the discussion (solution)

//加个样式啦.tp_cs {     -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* ie8  */    filter:alpha(opacity=100);    /* ie5-7  ff cm */ }...此处省略十多个字 <div class="hoveron tp_cs" style="position: absolute; z-index:100; left:0px;top:0px; width: 312px; height: 168px;  background-image: url(/images/websit/hover.png); background-repeat: repeat; -moz-opacity:1;opacity:1; "></div>... 


Hope it helps you (・?ω・?)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn