Trying to apply a bottom border to a table row using <w:tblPrEx>, the bottom border is hidden by the next row, even if I give the next row a top border. If I delete the next row the bottom border is visible. Here is the document.xml:
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"> <w:body> <w:tbl> <w:tblPr> <w:tblStyle w:val="AscTNormal"/> <w:tblW w:w="5000" w:type="pct"/> <w:tblCellMar> <w:top w:w="0" w:type="dxa"/> <w:start w:w="0" w:type="dxa"/> <w:bottom w:w="0" w:type="dxa"/> <w:end w:w="0" w:type="dxa"/> </w:tblCellMar> </w:tblPr> <w:tblGrid> <w:gridCol w:w="5000"/> </w:tblGrid> <w:tr> <w:tblPrEx> <w:tblBorders> <w:top w:val="single" w:sz="4"/> <w:bottom w:val="single" w:sz="4"/> </w:tblBorders> </w:tblPrEx> <w:tc> <w:p> <w:pPr> <w:pStyle w:val="AscPNormal"/> </w:pPr> <w:r> <w:t>Testing header</w:t> </w:r> </w:p> <w:p> <w:pPr> <w:pStyle w:val="AscPNormal"/> </w:pPr> </w:p> </w:tc> </w:tr> <w:tr> <w:tblPrEx> <w:tblBorders> <w:top w:val="single" w:sz="4"/> </w:tblBorders> </w:tblPrEx> <w:tc> <w:p> <w:pPr> <w:pStyle w:val="AscPNormal"/> </w:pPr> <w:r> <w:t>Testing data</w:t> </w:r> </w:p> <w:p> <w:pPr> <w:pStyle w:val="AscPNormal"/> </w:pPr> </w:p> </w:tc> </w:tr> </w:tbl> <w:sectPr> <w:pgSz w:w="12240" w:h="15840"/> <w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440"/> </w:sectPr> </w:body> </w:document> And the AscTNormal style:
<w:style w:type="table" w:styleId="TableNormal"> <w:name w:val="Normal Table"/> <w:uiPriority w:val="99"/> <w:tblPr> <w:tblInd w:w="0"/> <w:tcMar> <w:top w:w="0"/> <w:left w:w="108"/> <w:bottom w:w="0"/> <w:right w:w="108"/> </w:tcMar> </w:tblPr> </w:style> <w:style w:type="table" w:styleId="AscTNormal"> <w:name w:val="AscTNormal"/> <w:basedOn w:val="TableNormal"/> <w:tblPr/> </w:style> Well, the "AI" in all it's wisdom is not allowing me to submit this question because there is too much code. Gosh, AI is really going to rule the world one day?!? Anyways, hopefully this rambling will let me post the question.
The question is very simple, perhaps I should repeat it:
I am trying to apply a bottom border to a table row using <w:tblPrEx>, the bottom border is hidden by the next row, even if I give the next row a top border. If I delete the next row the bottom border is visible.