Reputation: 23
I was wondering if anyone knows how you can overlap a button with a label in HTML.
For example:
Is this easily done with css? I have tried absolute positioning to no avail
Upvotes: 0
Views: 825
Reputation: 322
Is this what you want?
I created a container div
with position:relative
which contains the button and label. Then i just set the label with position:absolute
and added top and left positions. Only drawback is that you have to set the positions manually.
Upvotes: 1