TABLE 구성시 데이터가 영문에 스페이스가 없거나 하는 경우 테이블이 뒤죽박죽 깨지기 마련인데~
이때 TABLE 태그의 style 속성을 추가하고 <table style=”table-layout:fixed”>
TD 태그의 style 속성에 word-break:break-all 값을 추가하면 된다.
<td style=”word-break:break-all”>
# word-break
normal
Default. Allows line breaking within words.
break-all
Behaves as normal for CJK text, yet allows the line to break arbitrarily for non-CJK text. This value is suited to CJK text that contains small amounts of non-CJK text.
keep-all
Behaves as normal for non-CJK text, but disallows word breaking for CJK text. This value is suited to non-CJK text that includes small amounts of CJK text.
댓글을 달아 주세요