Text over an image

Hello guys
well i was trying to add a text over an image but it didn’t work at all as the text locates above or lower the image : (
is there any other way to do so?
i don’t want to put the image as a background image cuz it didn’t appear at all
it will be appreciated if you guys help me with taking into account that i’m a super beginner user

Thank you

Put both the image and the text inside a div the size you want the image to be. Set the div to “relative” and the image and text to “absolute”.


It works!
Thank you so much

1 Like

Glad I could help :slight_smile: