I have a CSS file that looks like this:
.table_class1DeffCell
{
border-top-width : 1;
border-left-width : 1;
border-right-width : 1;
border-bottom-width : 1;
}
.table_class11DeffCell
{
border-bottom-color : 000000;
border-top-color : 000000;
border-right-color : 000000;
border-left-color : 000000;
border-top-style : solid;
border-left-style : solid;
border-right-style : solid;
border-bottom-style : solid;
border-top-width : 1;
border-left-width : 1;
border-right-width : 1;
border-bottom-width : 1;
}
.table_class24DeffCell
{
border-bottom-color : 000000;
border-top-color : 000000;
border-right-color : 000000;
border-left-color : 000000;
border-top-style : solid;
border-left-style : solid;
border-right-style : solid;
border-bottom-style : solid;
border-top-width : 1;
border-left-width : 1;
border-right-width : 1;
border-bottom-width : 1;
}
.text_class40
{
font-style : italic;
}
.text_class41
{
font-weight : bold;
}
.image_class42
{
}
In the HTML, it was linked as follows:
<link rel="stylesheet" type="text/css" href="FormatingProblem.css"></link>
<p>When converting the HTML to a Word document, the <strong>BOLD</strong> and Italics formatting does not work as expected.</p>
<p>This is the XSLT file I am using:</p>
<pre><code><table width="100%">
<!-- XSLT code here -->
</table>
After conversion to Word format, the BOLD text does not retain its formatting. See image below for illustration.
What could be causing this issue?