My current issue involves the inability to set my background photo using a CSS file.
I am utilizing NetBeans for this project. Inside a folder named css, there is a file called global.css which contains the following code:
body{
background-image: url(/images/background.jpg);
}
The background.jpg image is stored in a folder called images with the following structure:
--Web Pages
-css
global.css
-images
background.jpg
-index.html
--Source Packages
--etc
Despite all of this, the background image is not displaying on the webpage. What could be causing this issue?