2014/04/16

[CSS] 브라우저 구분 없이 지정 넓이 보다 넘치는 글자 자르기

// 넘치는 글자 자르기
.over-clip {width:100px; white-space:nowrap; text-overflow:clip; overflow:hidden;}

// 넘치는 글자 ... 처리하기
.over-ellipsis {width:100px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden;}

댓글 없음:

댓글 쓰기