Home > Web Front-end > HTML Tutorial > I want to ask for advice on a css problem about displaying many consecutive single quotes_html/css_WEB-ITnose

I want to ask for advice on a css problem about displaying many consecutive single quotes_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:15:32
Original
1073 people have browsed it

<html><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><body><table style="width:150px; word-break:break-all; -ms-word-break: break-all;" id="test">	<tr>	 <td>'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''           </td></tr>         <tr>	  <td>&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;                    &apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;aaaaaaaaaaaaaaaaaaaa          </td>        </tr>        <tr>	<td>eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee         </td></tr></table></body></html>
Copy after login

The above is a test code (all characters in td are consecutive). After the table width is fixed, it is not possible to force multiple consecutive single quotes to wrap, but other The characters are indeed ok, please ask for help why this is, and ask for a feasible solution. . . Thanks.
[img=http://my.csdn.net/my/album/detail/1322973#505219][/img]


Reply to discussion (solution)

Try using fixed table word-wrap:



word-break does not support automatic line wrapping of continuous symbols

Try using fixed table word-wrap:



word-break does not support automatic line wrapping of continuous symbols
Thanks upstairs. . . Problem solved Thank you

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template