0

How to align a html button to the center of webpage?

How to align a html button to the center of webpage?

31st May 2021, 3:51 AM
Harshal Shinde
Harshal Shinde - avatar
2 Answers
+ 3
First way insert the button in form and add 'text-align: center' to form class. second way: you can write to button's class : margin: 20px auto;
31st May 2021, 3:56 AM
NEZ
NEZ - avatar