css center button horizontally on page code example Example: horizontaly center button css button { margin:0 auto; display:block; }