CSS/HTML
<div style="width:가로;height:세로;overflow:hidden;white-space:nowrap;">내용</div>
 
<div style="width:가로;height:세로;overflow:hidden;word-break:break-all;">내용</div>