I have a simple login page and on background i set an image this image displayed when i run the page locally but when going live it does not show
please assist
Image is not displayed in simple asp.net web page
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Nanhe SiddiqueRank #1,103 · 1.7K reputationPosted May 7, 2015, 9:22 PM EDT
and as per my knowledge remove double dot '..' before image url
Dipankar BiswasRank #992 · 2K reputationPosted May 7, 2015, 9:18 PM EDT
css background image..
body {
background-image: url("paper.gif");
background-color: #cccccc;
}
Adinarayana Reddy JcRank #7,298 · 244 reputationPosted May 8, 2015, 3:18 AM EDT
remove ".." & try..
Sakthikumar ThanavelRank #1,235 · 1.4K reputationPosted May 8, 2015, 11:31 AM EDT
The problem in your image path. First of all verify your path. As your path mention the image present inside the "img" folder that folder is sibling to the page's(HTML Documnet) parent folder.