Just, I'm trying to add a background image to css code.
body {
line-height: 1;
background-image:url(../img/bg1.jpg);
}
But the background image does not appear during testing with localhost / foldername / index.php
Interestingly, I can edit the background color ( background-color:#993).
My folder tree looks like this;
+Main Folder
+css
style.css
+img
bg1.jpg
Could you help me why I cannot add a background image to the css body.
source
share