css - How image path works? -


i see when inspecting site

background: url("http://nepotech.com/thelandmark//images/stories/bg/rooms.jpg")

the double slash after thelandmark. when delete 1 of slash doesn't work. how working?

live demo inspect background image

try adding "version" after url like:

http://nepotech.com/thelandmark/images/stories/bg/rooms.jpg?v=1 

if type http://nepotech.com/thelandmark/images/stories/bg/rooms address bar image shows up. maybe caching?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -