Eric:
I am having an issue with the HtmlToWMLConverter and a table. The HTML table has 2 columns, each identified as style="width:50% !important;"
. If I step through the generation of the WML from the HTML, the table grid is generated properly with each column having the same width.
However if I open the resulting file in Word, I get the following for the tblGrid element:
<w:tblGrid>
<w:gridCol w:w="5762"/>
<w:gridCol w:w="4048"/>
</w:tblGrid>
To add to the problem, it appears to be content related. The “wider” the information in the right column, the narrower the left column.
Do you think there is any way to get around this or is it truly Word being “smart” when opening the file? If I download the docx and view the XML, the widths are correct. The problem is if I open the document the column widths are adjusted. Obviously if I save it, it’s changed in the xml.
I don’t think this is a converter issue, but more a Word issue.
Any help is appreciated as always!
Garth