Home >Web Front-end >HTML Tutorial >IE7 can't display pictures? _html/css_WEB-ITnose

IE7 can't display pictures? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:20:531086browse

This post was last edited by concerns on 2013-05-03 20:54:41

Internet Explorer Image Browser CSS IE7

1.RT. I want to ask everyone, it is displayed in IE7 There is no picture of the button

2. The called style: style.css

/*省略部分代码*/.submit_btn{    background: url("../img/y_3.gif") no-repeat scroll 0 -28px transparent;    border: medium none;    height: 46px;    margin: 20px auto;    text-indent: -9999px;    width: 156px;}

3. The displayed front page index.html has the style class="submit_btn" applied in it .
<input type="button" name="submitBtn" id="submitBtn" class="submit_btn" onClick="submitForm();"value="go" />




4. Pictures cannot be displayed under IE7, but other browsers can.
The picture format is .gif. Please tell me why.

Thank you


Reply to the discussion (solution)

My IE7 can display

to see if it is a path problem, put it in Try it in the same directory

Where is your img folder located?

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