IE中未显示背景图片 [英] background image is not shown in IE

查看:112
本文介绍了IE中未显示背景图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的HTML文件中的背景图片存在问题。我写了一个HTML文件,然后我添加了一个背景图片。当我在firefox中打开它时,它显示背景图像,但它在IE中不起作用,背景为空。有什么问题?

There is a problem with background image in my HTML file. I have written an HTML file and in that I add a background image. When I open it in firefox, it shows the background image but it does not work in IE and the background is empty. What is the problem?

推荐答案

@mahmoodn


不是通灵者。看到有问题的代码会有所帮助。
@mahmoodn
Not a psychic. Seeing the code-in-question would be helpful.


它适用于Firefox,但不适用于IE。下面是代码:
It works in firefox but not in IE. Here is the code:
展开 | 选择 | Wrap | 行号


在IE 7中适合我。


我只能假设您尝试用作背景的文件不存在。


确保使用正确的扩展名。
Works fine for me in IE 7.

I can only assume that the file you are trying to use as your background doesn''t exist.

Make sure you use the correct extension.


这篇关于IE中未显示背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆