0

I have a problem with adding a background image in my CSS file.

I already linked my CSS file and I gave my body an id but it just won't appear

18th Sep 2017, 11:08 PM
Ifunanya
Ifunanya - avatar
4 Respostas
+ 5
could you share your code?
19th Sep 2017, 12:03 AM
Daniel
Daniel - avatar
+ 1
Thank you for reaching out, Daniel. I already figured it out. It turns out that my path was not correct. I forgot to go outside my css folder. body {background: url(../images/sunshine.png);
19th Sep 2017, 9:00 AM
Ifunanya
Ifunanya - avatar
0
body {background: url(../images/sunshine.png); background-color: #cccccc;} #form {width: 30%;}
19th Sep 2017, 1:21 PM
Ifunanya
Ifunanya - avatar
- 1
<!DOCTYPE html> <html> <head> <title>Ifunanya's Blog</title> <link rel="stylesheet" type="text/css" href="css/profile.css"> </head> <body> </body> </html>
19th Sep 2017, 1:21 PM
Ifunanya
Ifunanya - avatar