how to make image be at the center code example Example: center image css .centerImg { display: block; margin: 0 auto; }