New Update: After receiving help from Kodos Johnson, I have made some changes to my code. However, I am now facing an issue with the padding around the background image.
Upon trying to insert a background image into my button, the text inside the button ends up shifting outwards. Could someone assist me with this problem? Below is my code:
<div>
<button type="button" id="secondBarButton">See How It Works</button>
</div>
---Additional Update: I am looking to include padding or margin for the image.
#secondBarButton {
float: right;
padding: 5px;
margin: 10px;
background-image: url(images/button.png);
}
I am struggling to reposition the text back inside the button and align it centrally.