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

list image alignment

  • # May 1, 2013 at 8:54 am


    i have a series of 3 images in a list that i need to appear centrally aligned beneath a paragraph of text.


    .serviceIcon ul li {

    padding: 20px 10px 20px 0px;
    width: 40px;
    display: inline-block;
    float: none;



    # May 1, 2013 at 9:41 am


    All you have done is state a requirement not what the issue is.

    # May 1, 2013 at 9:48 am

    …aaaand they’re not appearing as required, they are still hanging about the left hand margin.

    # May 1, 2013 at 9:51 am

    How could we tell?

    Do you have a link or a Codepen?

    Oh…and you do know you haven’t closed those pesky `li` tags…don’t you?

Viewing 4 posts - 1 through 4 (of 4 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