Why My Background Isn't Visible? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why My Background Isn't Visible?

I Have A Background And Theres My Code: body { background-image: url("img/bg.png"); } But My Background Isn't Visible. What I Do Wrong?

10th Jul 2016, 2:29 PM
Tunacan yay
Tunacan yay - avatar
4 Answers
+ 2
That's not a big deal. check your file on other computer. I have this problem. trust me.
10th Jul 2016, 10:26 PM
Amir Aziz
Amir Aziz - avatar
+ 1
i think the pic must be in the same folder as the css or html file
21st Jul 2016, 1:21 PM
Miodrag Robović
Miodrag Robović - avatar
+ 1
give the absolute path of the image and check it out
27th Jul 2016, 10:17 AM
meghana kasal
meghana kasal - avatar
+ 1
Wow... Its been 4 months... But it got fixed when I use Google Chrome Canary. Thanks for all the answers. ☺️
20th Apr 2017, 7:39 AM
Tunacan yay
Tunacan yay - avatar