我想转换一些HTML内容为MS word使用以下办法,但一些风格,我正试图设置为表行(例如边境下的)不是在所有可见光在转化为word文档。 有人可以帮我个忙吗?
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40">
<body>
<table>
<tr style="border-bottom:2pt solid #AFAFAF">
<td>One</td>
<td>1</td>
</tr>
<tr style="border-bottom:2pt solid #AFAFAF">
<td>One</td>
<td>1</td>
</tr>
</table>
</body>
</html>
我甚至试图设置 style="mso-border-bottom-alt: solid #AFAFAF 2pt;"
它没有工作。 我的要求是非常具体的,我应该有底部的边界对每一个行。