Forums

Give help. Get help.

  • # August 5, 2017 at 9:01 pm

    I have a list item, in each item I have text, another set of text with a background and border and an icon.

    I want to center align my content but it’s not working.

    Help!

    # August 6, 2017 at 12:22 am

    I can’t see anything in your css that would be trying to vertical-align, but try this http://lmgtfy.com/?q=Vertical+align+li

    # August 6, 2017 at 8:18 pm

    Add text-align: center to your forum-row rule in your css. Is that what you meant?

    # August 7, 2017 at 12:45 pm

    I would remove the div around the image, and applies the .icon class directly to it. Then add vertical-align:middle to .headline, .replies, and .icon:

    https://codepen.io/kvana/pen/NvpxGv

    # August 8, 2017 at 10:27 am

    Did you tied using flexbox?

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag