The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

How to center image inside a tag ?

  • # May 17, 2013 at 2:51 am

    I want to add icon to the menu, but I want them centered as well

    # May 17, 2013 at 2:53 am

    I want to add image inside a tag

  • Milford Sound in New Zealand
    New Zealand
# May 17, 2013 at 4:42 am

a img {
display: block;
margin: 0 auto;
border: none;

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed