Answers for "how to center the button"

9

html center button

button{
    /*Change the width as much as you like, but make sure 
    margin-left and margin-right + width = 100%*/
    width:50%;
    margin-left:25%;
    margin-right:25%;
}
Posted by: Guest on April-29-2020
2

how to align the text center in button

text-align:'center'
Posted by: Guest on September-14-2021
0

html center button

text-align:'center'
Posted by: Guest on January-01-1970

Code answers related to "how to center the button"

Browse Popular Code Answers by Language