CSS image error, I think it might be scrambling the link a bit. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

CSS image error, I think it might be scrambling the link a bit.

Here's the HTML: <html> <meta charset="UTF-8"> <head> <title>background image</title> <link rel="stylesheet"href="bckgrndimg.css"> </head> <body> </body> </html> Here's the CSS: body { background-image: url("C:\Users\Diana\Pictures\2014-09\Buddyboy.jpg"); background-color: #e9e9e9; } I've tried putting it in the same folder as the the html and css as well and it has this error: Failed to load resource: net::ERR_FILE_NOT_FOUND UsersianaPictures%E2%80%94-09%0Buddyboy.jpg:1 Any help would be much appreciated.

7th Aug 2018, 6:13 PM
Brent Force
Brent Force - avatar
1 Réponse
+ 15
in the code playground you need a valid https address for images. https://www.sololearn.com/discuss/1054246/?ref=app
7th Aug 2018, 6:36 PM
bobbie
bobbie - avatar