how to align button horizontally in css code example Example: horizontaly center button css button { margin:0 auto; display:block; }