how to arrange in horizanttal to vertical in css shortcut code example Example: how to horizontal center a div in css #inner { width: 50%; margin: 0 auto; }