The below code is all inline CSS.
DOESN'T WORK
#Image { background-image: url('Images/home.png'); } DOESN'T WORK
#Image { background-image: url('http://localhost:63832/Images/home.png'); } But when I copy and paste the url, i can access the image. I can also see this defined and active when I check the css in the browser.
WORKS
<img id="Image" src="Images/home.png" />
backgroundproperty for#Imagesomewhere else in your code. Are you sure there are no other conflicting styles present. Inspect the#Imagein your browser and see what all styles are actually applied to it.background-image, while setting the background of the element, doesn't give the element any size. If you're not getting a file_not_found error in the JS console, then the image is being loaded, but is just not visible.