+ 3

Please I need a short written html and it's css code with background-image from any website.

I have been trying to make a background-image stored in my local directory display and it has refused to display, I've tried several methods but no way. I need urgent help!!!

19th Nov 2018, 7:38 PM
Nlerum Royal
8 Answers
+ 8
I don't see any errors . i think your image is not public try storing your image on the server itself.
19th Nov 2018, 8:20 PM
Arne Van Kerckvoorde
Arne Van Kerckvoorde - avatar
+ 7
If i could see the code it would be a lot easier 😉
19th Nov 2018, 7:45 PM
Arne Van Kerckvoorde
Arne Van Kerckvoorde - avatar
0
Yes
19th Nov 2018, 8:13 PM
Nlerum Royal
0
margin: 0; padding:0; } header { background-image: url("https://drive.google.com/drive/u/2/mobile/recent/pic1.png"); height: 100vh; background-size: cover; background-position: center ; } .main-row { float: right ; list-style: none; margin-too: 30px; }
19th Nov 2018, 8:16 PM
Nlerum Royal
0
margin: 0; padding:0; } body { background-image: url("https://drive.google.com/drive/u/2/mobile/recent/pic1.png"); height: 100vh; background-size: cover; background-position: center ; } .main-row { float: right ; list-style: none; margin-too: 30px; }
19th Nov 2018, 8:17 PM
Nlerum Royal
0
OK thanks, let me try ur suggestions
19th Nov 2018, 8:31 PM
Nlerum Royal