xhtml table cells do not respect text alignment

Pavel Sanda sanda at lyx.org
Fri Dec 6 12:36:57 UTC 2019


as said in the title, when you set e.g. center alignment of table cells
our xhtml export correctly flushes out <td align='center' valign='middle'>
for the cell, this setting gets however overwritten by nested
<div class="plain_layout" id='magicparlabel-196462'>Text in cell</div>
so you get left aligned text.

The full strip:
<td align='center' valign='middle'>
<div class="plain_layout" id='magicparlabel-196462'>text</div>

Any easy way out?


More information about the lyx-devel mailing list