테이블의 행 바닥 국경되지 않은 명소 visble 에 변환하는 경우 html 을 MS word

0

질문

나가려고 일부를 변환 HTML 콘텐츠로 MS word 다음 방법을 사용하여 어떤 스타일에 나는 설정하려고 하는 테이블은 행(과 같은 border-bottom)지에 표시되는 모든 변환된 단어는 문서입니다. 누군가의 도움을 받을 수 있는가?

<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;" 는 작동하지 않았다. 나의 요구 사항이 매우 특별하는 내가 있어야 하단에 대한 경계 모든 행이 있습니다.

css html html-table ms-word
2021-11-23 16:54:29
1

최고의 응답

0

으로 언급하여 아즈 가정 border-bottom 하기 <td><tr> 태그은 속임수를 썼는지와 함께 cellspacing="0"<table>.

<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 width="100%" cellspacing="0">
            <tr>
               <td style="border-bottom:2pt solid #AFAFAF">One</td>
               <td style="border-bottom:2pt solid #AFAFAF">1</td>
            </tr>
            <tr>
               <td style="border-bottom:2pt solid #AFAFAF">One</td>
               <td  style="border-bottom:2pt solid #AFAFAF">1</td>
             </tr>
        </table>
    </body>
</html>
2021-11-23 17:30:21

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................