how to set div align center in css code example Example: css text align center body { text-align: center; }