0

太多的文字正在阻碍中间 td 的宽度。我认为如果您指定宽度,这不应该发生。

有什么帮助吗?

<table cellpadding="0" cellspacing="0" border="0" align="center" width="541">

      <tr>
        <td background="images/left.png" width="20" height="313"><p>1</p></td>
        <td background="images/text_bg.png" width="501" height="313">
          <p>centasdfasfasfasfasfafasfasfasfasfasfjaslfashfalsjfhaskfjashfkasfjhaskjfhaskjfhasfkjashfasfgjasghasdgkljashgaksjlghasljkgher</p>
        </td>
        <td background="images/right.png" width="20" height="313"><p>3</p></td>
      </tr>

 </table>   
4

1 回答 1

0

The thing is that browser cannot split the word in p tag. Usually you don't have such a long word. Just add space in the middle of your long text, and with of your td become normal.

于 2013-10-02T10:25:31.150 回答