c# - Images don't show up after VS 2012 Publish -
i have created asp.net web project. have included files in project. following css standards required.
background-image: url('~/images/sideheader.png')
i can see pictures when debug site. when publish site, don't see picture in site.
please me resolve problem.
you should use :
background-image: url('/images/sideheader.png')
in way relative paths resolves correct place .
Comments
Post a Comment