1
Is there any way to overlay a ul of links to an image?
The header of the page I am working on is done by image but the links should be done by html.. has to overlap?
It is a simple header, with a menu that redirects to other pages aligned to the right and the logo aligned to the left.. nothing very unusual, just do not know how to overlay the links the image.
Any idea?
EDIT: It’s like my header has a background-color property, but this background-color is an entire image, the size of the header (and will be the header). Links will be placed inside the header as well, but should appear above the image, being part of the header.
Consider doing a [tour] and adjusting your question as stated on [help]
– MagicHat
It’s possible, it’s simple. But it got a little confusing when I said "overlay the links to the image". Do you want the images to be links? Do you want to remove the links and insert images in place? Explain better what your question or post part of the code to implement.
– Gilberto B. Terra Jr.
The question really got a little confusing, but as a general rule for overlaying elements in the DOM, use the z-index property of the CSS. The rule of this property is: elements with a higher z-index value overlap with lower value elements: https://www.w3schools.com/cssref/pr_pos_z-index.asp
– Marcell Alves
If the image should be behind only the element
ul
you can also simply put asbackground-image
. https://www.w3schools.com/cssref/pr_background-image.asp– Laércio Lopes
I edited the question, I tried to explain it better. unfortunately I can’t post the image
– rayraisemeup