+ 3

Beginner coder having trouble making background image for header.

Hello, I wanted a header image or my logo picture, side by side with another picture. The logo in essence would combine two pictures. I assumed that would be considered the background picture ? Anywho I would appreciate the help; I spent much time getting no where. https://code.sololearn.com/WiUYIbb6KPbr/?ref=app

26th Jul 2018, 7:46 PM
Markie Alicia
Markie Alicia - avatar
3 Respostas
+ 2
You cannot use relative img links in code playground background: url("../graphics/homepage-image.jpg") no-repeat top left; background: url("../graphics/dhaka logo.png"); Upload your images to imgur.com, use the provided img links then.
27th Jul 2018, 2:25 AM
Calviղ
Calviղ - avatar
+ 1
Thanks
27th Jul 2018, 12:06 AM
Markie Alicia
Markie Alicia - avatar
0
href and src are different. If you want the content embedded (show up) in your site, use src. If you want your site to refer to (read from or direct user to) content, use href. It can be tricky to understand. Right now, instead of having two pictures, you have one picture that (when clicked) links to somewhere that maybe should have another picture.
26th Jul 2018, 10:31 PM
Janning⭐
Janning⭐ - avatar