xhtml table cells do not respect text alignment

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


Hi,

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>
</td>

Any easy way out?

Pavel


More information about the lyx-devel mailing list