html float: center code example Example: make web page float to center of page .center { text-align-last: center; border: 2px solid black; }