how to set image in center of div css code example Example: css for displaying image center text-align: center;