+ 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
3 Respuestas
+ 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.
+ 1
Thanks
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.