'CSS Style'에 해당되는 글 1건

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.
출처 : http://msdn.microsoft.com/en-us/library/ms531184(VS.85).aspx

TD 태그의 word-break 속성 이외에 word-wrap 이라는 속성도 있는데~

크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기
2009/11/04 16:34 2009/11/04 16:34
Posted by 바라기

댓글을 달아 주세요

[로그인][오픈아이디란?]