Grow your CSS skills. Land your dream job.

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.

*May or may not contain any actual "CSS" or "Tricks".