开发者

Background image isn't rendering in the web browser

I'm trying to repeat an image I have by x and y, using repeat-all. Th开发者_运维问答e image isn't displaying.

Here is the CSS code:

body
{
    background-image: url('Content/images/test.png') repeat-all;
}

I'm sure the CSS file is linked correctly, here is the Content folder of my application:

Background image isn't rendering in the web browser

Any help?


That's actually not being linked correctly, if that code is in your Site.css file. It should be:

background-image: url('images/test.png') repeat-all;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜