August 5, 2017 at 9:01 pm #257450
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 #257451
I can’t see anything in your css that would be trying to vertical-align, but try this http://lmgtfy.com/?q=Vertical+align+liAugust 6, 2017 at 8:18 pm #257470
Add text-align: center to your forum-row rule in your css. Is that what you meant?August 7, 2017 at 12:45 pm #257488
I would remove the div around the image, and applies the .icon class directly to it. Then add
vertical-align:middleto .headline, .replies, and .icon:August 8, 2017 at 10:27 am #257496
Did you tied using flexbox?
You must be logged in to reply to this topic.