I am trying to vertically center dynamic text content in a css <li>. Since I don;t know how much text will be coming from the database I cannot use some of the solutions available online. I tried using the display: table/display: table-cell/ vertical-alignment:middle but it is not working even though I used extra divs to accommodate the display method. So, what would be the best way of doing this?
Below is the code for that session of my page and my css. The text that needs to be vertically centered is in <li> items with class "MainContentListingItemColumnText "
Thank you for your help.