text of button not in center css code example
Example: button text not centered
padding: 0px solves the horizontal centering
whereas,
setting line-height equal to or less than the height of the button solves the vertical alignment.
padding: 0px solves the horizontal centering
whereas,
setting line-height equal to or less than the height of the button solves the vertical alignment.