2015-02-23 74 views
0

我有一个表格使用引导样式表,并且它已经不可能让单元格正确地包装到文本Chrome。无论如何,它适用于IE和Firefox。你可以在这里看到:表格单元格没有在Chrome中正确包装文字

<form action="todos" method="post"> 
        <table class="table" border="1"> // Normal table using bootstrap stylesheet 
         <thead> 
          <tr> 
           <th>asdf</th> 
           <th>asdf<th> 
          ... 
          </tr> 
         </thead> 
         <tbody> 

         <tr> 
          ... 
         </tbody> 

Content of the table

任何想法,我究竟做错了什么?

回答

1

它看起来像使用word-wrap:break-word;尝试设置:

table td { 
    word-wrap: normal; 
}