I'm in the process of testing Flare 12, and encountered an issue with table column widths in Word targets. It seems that column widths (both those set as styles in the col tags and those set using classes on the col tags) are ignored in Word output, but respected in PDF output. I've tested both relative units (em, %) and absolute (cm, in). In every test I've tried, Word targets just set all columns to equal width.
I've reported this to MadCap, but in the mean time, I'm wondering if anyone has found a work-around.
Here's one of the samples I tried. When output to Word, all of the columns appeared as 50%, regardless of what the width was set to.
Code: Select all
<h1>Introduction</h1>
<p>Here is some text in a table:</p>
<table style="width: 100%;">
<col style="width: 20%;" />
<col />
<tbody>
<tr>
<td>This column has a set width of 20%</td>
<td>This column has its width set to auto</td>
</tr>
</tbody>
</table>
<table style="width: 100%;">
<col style="width: 20pt;" />
<col />
<tbody>
<tr>
<td>This column has a set width of 20 pt</td>
<td>This column has its width set to auto</td>
</tr>
</tbody>
</table>
<table style="width: 100%;">
<col style="width: 20px;" />
<col />
<tbody>
<tr>
<td>This column has a set width of 20 px</td>
<td>This column has its width set to auto</td>
</tr>
</tbody>
</table>
<table style="width: 100%;">
<col style="width: 2.00cm;" />
<col />
<tbody>
<tr>
<td>This column has a set width of 2 cm</td>
<td>This column has its width set to auto</td>
</tr>
</tbody>
</table>
<table style="width: 100%;">
<col style="width: 2.00in;" />
<col />
<tbody>
<tr>
<td>This column has a set width of 2 in</td>
<td>This column has its width set to auto</td>
</tr>
</tbody>
</table>
<table style="width: 100%;">
<col style="width: 20em;" />
<col />
<tbody>
<tr>
<td>This column has a set width of 20 em</td>
<td>This column has its width set to auto</td>
</tr>
</tbody>
</table>