Put Button On Top Of Image ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Put Button On Top Of Image ?

How can I put a button on top of an image with html and/or css ? My code can be found here: https://code.sololearn.com/WcrzEPfzaAeT and an image on what I'm trying to do is here: https://drive.google.com/file/d/1IyxANfMP5SopczM6R6rqL1bslo5FGoDw/view?usp=sharing Thanks :)

18th Apr 2019, 9:08 PM
Minerals2016
Minerals2016 - avatar
2 Answers
+ 1
You can use "position: absolute;" for your button and the top, bottom, left, right properties for positioning.
18th Apr 2019, 9:14 PM
Bela Brockmann
Bela Brockmann - avatar
+ 1
Hey I figured it out, thanks. I did use what you said @clab02 so thank you :) My mistake was a typo :( Thanks anyways
19th Apr 2019, 1:55 AM
Minerals2016
Minerals2016 - avatar