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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -