Reputation: 7
I am using Visual Studio and making website in asp.net.
I have made a folder named "Images" from where I am calling picture through css using background:url("images/loading.gif")
but picture is not showing when I run the application.
Please help me
Upvotes: 0
Views: 40
Reputation: 2542
Try this :-
background-image: url(../images/loading.gif);
If your directory is like:-
|
+--Css (folder)
| \--Stylesheet.css
|
+--images (folder)
| \--loading.gif
|
\--Default.aspx
Upvotes: 2