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