Jenkie
Jenkie

Reputation: 23

Overlap Button with a label

I was wondering if anyone knows how you can overlap a button with a label in HTML.

For example:

picture

Is this easily done with css? I have tried absolute positioning to no avail

Upvotes: 0

Views: 825

Answers (1)

Pawcu
Pawcu

Reputation: 322

Is this what you want?

http://jsfiddle.net/y9dfX/9/

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

Related Questions