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 -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -