能否加入table后两行文字的两端也可以对齐了?

解决方案 »

  1.   

    style用padding-left或者padding-right指定值看行不行
      

  2.   

    不行。
    如果这样子,会看到效果,但不一定是LZ想要的。<table style="width: 400px" border=1>
      <tr>
        <td  >
         <div style = 'text-align:justify;text-Justify:distribute-all-lines;width: 400px'>
         <FONT FACE='宋体' COLOR='red'><h1><B>
          中华人民共和国万岁万万岁<br>打倒帝国主义</B></h1></font></div> 
        </td>
      </tr>
    </table>
     
    <div style = 'text-align:justify;text-Justify:distribute-all-lines;width: 400px'>
    <FONT FACE='宋体' COLOR='red'><h1><B>
     中华人民共和国万岁<br>打倒帝国主义</B></h1></font></div>