CSS 텍스트 줄바꿈 질문드립니다.
본문
display:line;
white-space:normal;
저렇게 값을 주면 텍스트 줄바꿈이 이미지 아래로 넘어가버립니다..
제가 원하는건 텍스트 바로 아래 줄바꿈이 되게끔 하려고 하는데 좋은 방법 없을까요?

답변 1
<style>
.warp:after { clear:both; display:block; content:""; *zoom:1 }
.img { float:left }
.txt { float:left; padding:5px; white-space:normal; width:80px; }
</style>
<div class="warp">
<div class="img">이미지</div>
<div class="txt">가나다라마바사아</div>
</div>
답변을 작성하시기 전에 로그인 해주세요.