YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > ETC
검색
멤버이름    오토
비밀번호 
 

[스타일시스] 글자 줄바꿈과 줄바꿈 금지

페이지 정보

작성자 MintState 댓글 0건 조회 12,930회 작성일 08-11-17 15:14

본문

[스타일시스] 글자 줄바꿈과 줄바꿈 금지

테이블 안에 영문글을 쓸때 줄바꿈이 되지 않아 당황한 적이 있을 것입니다.
이때 간단히 스타일시스를 적용하면 됩니다.

1. 우선 강제로 줄바꿈(영문이 줄바꿈 되지 않을때)
글자하나하나를 인식하여 줄바꿈을 합니다.
<table width="300">
<tr>
<td width="50%" style="word-break:break-all">YesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForums</td>
<td width="50%">YesYo.comMintStateForumsYesYo.comMintStateForums</td>
</tr>
</table>

2. 줄바꿈 금지
<table width="300">
<tr>
<td width="50%" nowrap>YesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.com</td>
<td width="50%">YesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForumsYesYo.comMintStateForums</td>
</tr>
</table>

댓글목록

등록된 댓글이 없습니다.

Total 71건 1 페이지
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™