我正在使用 Firefox 在 localhost 上测试一个站点,现在我看到我提供的背景图像和颜色在 Chrome 中根本没有显示。在 IE 中,它在 IE9 中显示,但在 IE8 或 7 中不显示……所以在 Chrome、IE7 和 IE8 中,我都没有将图像视为颜色……
可能是什么问题?我同时使用一种颜色作为图像。这是我正在使用的代码:
background: url("http://localhost/test/wp-content/uploads/2013/01/bg.png") no-repeat scroll left 550px center #222;
PS我使用左550px,因为我不想使用右-80px...有人告诉我使用减号不好...