0

Center alignment

how can i align the submit button of a form to center?

5th Apr 2018, 4:05 PM
Ravindra Desai
Ravindra Desai - avatar
3 Respuestas
+ 3
Sometimes centering objects with CSS can be tricky. If you are having trouble you can always try enclosing the button code in <center></center> tags. These days this is kind of a hack method, but many times it works much easier this way.
6th Apr 2018, 1:28 AM
synorax
synorax - avatar
+ 1
With CSS, not with HTML like your tag says. https://www.w3schools.com/css/css_align.asp
5th Apr 2018, 4:57 PM
Daniel Nedergaard
Daniel Nedergaard - avatar
+ 1
synorax, thanks it worked
6th Apr 2018, 3:52 AM
Ravindra Desai
Ravindra Desai - avatar