vertically center text in tables (HTML)

Whenever I open any HTML document that has a table, the text appears centered, but, not in the center of the cell. Normally, I’d go fix the problem in dreamweaver once I’ve converted my excel table to html, but, I’m curious how I do that in libreoffice 6.3.3.2 for mac. the only option I can find is “center vertically”, and that isn’t centering the text vertically, only the table. Thanks

Totally confusing.

How “any HTML document” is relevant to LibreOffice? do you open it in LO? or are you generating it with LO?

What “the text appears centered, but, not in the center of the cell” might mean? if it’s centered, but not in the cell, then it’s centered where?

What “once I’ve converted my excel table to html” might mean? Are you using Excel? Then again, how it’s relevant to LO?

“but, I’m curious how I do that in libreoffice 6.3.3.2 for mac” - what is “that”? convert to HTML? Center (vertically) text in cells?

“the only option I can find is “center vertically”” - and that option is specifically where?

“and that isn’t centering the text vertically, only the table” - what does that mean? can you provide screenshots with marked problems, description of wanted results, and sample spreadsheets?

Text in a table cell imported from HTML will be vertically aligned if the <td> element has a valign="middle" attribute. If it doesn’t then it isn’t.