October 8, 2012

Remember Not to Forget: How to Horizontally Center an IMG Element with CSS

For whatever reason I'm always forgetting a lot of useful CSS and Javascript stuff, and I end up spending 10-15 minutes on Google looking for said useful stuff over and over again. To avoid wasting those 10-15 minutes in the future I'm going to start putting those helpful things in my blog!

This is one I come across all the time: horizontally centering an IMG element with CSS.


Post a Comment