Typically, buttons are created with specific dimensions like this:
<button style="width: 120px; height: 40px;">
Mememe
<button>
Afterwards, a background is added that matches the size of the button:
button
{
background-size: 100% 100%;
}
If you want it to be a perfect square, the image should also be 120x40 px.
Is there a way to make the button the same size as the image without using IMG elements or scripts?
Best Regards,