how to allign something in center in css code example Example: center text in css .class { text-align: center; }