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:
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;
精彩评论