WordML: Set Table Cell Width

921 views Asked by At

How are cell widths set in WordML? I tried the w:w attribute of the w:tcW tag, but it has no effect. I want to set cell widths independantly of the column. I also want a different number of cells on each row.

2

There are 2 answers

0
Kiru On BEST ANSWER

I think you need to use <w:tblGrid> if you want to set the cell width irrespective of the column width check this

0
RoadBump On

The tcW element has one more optional attribute: w:type , that determines the measure of the width. The default seems to be auto. Try to set it to another measure, such as dxa,in, or pct.