开发者

Div background not appearing in live ie and firefox

I have been playing with this for a long time and can not get it to work.

The div #wrapper background .png appears offline fine in both ie and fire开发者_开发知识库fox but fails to show in live, any help would be gratefully received.

Rod

http://www.goforitni.com/facebook/welcome/welcome-unliked.html


That's because http://www.goforitni.com/facebook/images/background.png can't be loaded (probably doesn't exist). You can check in firebug.


It looks like your path to the images folder is incorrect in the CSS.

You're using ../images/background.png - are you sure it shouldn't just be images/background.png?

Perhaps it's been cached locally and that's why it displays for you.


you need to specify the correct path to your background background.png

background-image: url('../images/background.png')

correct this line.

and also you have some problems like

# html body{ 

(line 11 )

and

z-index:10; } } 

in line 145

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜