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