image in the center of span css code example Example: css for displaying image center text-align: center;