How to set a image over image? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to set a image over image?

I want to add a header image and logo in the header

11th Jan 2019, 5:29 PM
Human being
Human being - avatar
2 Answers
+ 2
It's not very clear what you ask. So you want to add 2 separate images in the header? Or one background image and the logo? If so you add the background image with css with background: url(#); and the logo in the <div> or <header>.
11th Jan 2019, 6:10 PM
Burdetiu Samuel
Burdetiu Samuel - avatar
+ 1
I think you can set your logo as background image for header and into the header create a div or figure and set your other image here. or set your header image in header and your logo into header but if you do this you need to specify "position: absolute;"
11th Jan 2019, 5:43 PM
Elias Bracaval
Elias Bracaval - avatar