Answers for "how to make buttons in center in html"

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
0

how to align button in center using css

If the button is inside a div, put text align to center for the div
Posted by: Guest on October-11-2021

Code answers related to "how to make buttons in center in html"

Browse Popular Code Answers by Language