Treehouse: Grow your CSS skills. Land your dream job.

Text Inline With Image Not Working

  • # June 8, 2013 at 10:30 am

    Hello I have created a ul list for my column for one of my footers.

    I tried giving a nice margin between the image and text but couldn’t get it to work also not in middle ish.

    # June 8, 2013 at 11:24 am

    you have set the image to vertical-align: top and have no right margin to separate it from the text. try this:

    .column5 img {
    margin: 0 10px;
    vertical-align: middle;

    # June 8, 2013 at 11:48 am

    thanks worked will remember that now

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

You must be logged in to reply to this topic.