views:

16

answers:

1

Hi guys, I'm trying to repeat an image I have by x and y, using repeat-all. The 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: alt text

Any help?

+3  A: 

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;
Andrew Barber
Will accept this answer in 8 minutes, thanks!
Serg