Tag Archive: div

June 25, 2016   /   by Marco   /   , , , , , , , ,

HOW TO CENTER IMAGES USING CSS

HOW TO CENTER IMAGES USING CSS

Centering images or banners on a web page can be a nightmare. I’ve tried several CSS methods but the only¬†way I was able to center the image was to use this code: [codesyntax lang=”css”]

[/codesyntax] Just make sure you change the img.center to your own CSS class. I decided to write this down so […]

read more