게시판에서 영어로 쓸때, 영어단어 단위로 줄바꿈
본문
게시판에서 영어로 쓸때, 영어단어 단위로 줄바꿈 하는 방법을 알고 싶습니다.
몇몇 관련질문을 보니, word-break 을 이용하라고 하셔서,
CSS에 적용을 해 봤는데, 적용이 되지 않네요.
어느 부분에 적용을 하면 되는지 궁금합니다.
원하는 내용은 예를들어서
In your introduction, you need to let the readers and markers of your report know why the report is important and what exactly the report is about.
라는 문장이 있을때
지금 사용중인 게시판에서는 report 라는 단어가
In your introduction, you need to let the readers and markers of your report know why the rep
ort is important and what exactly the report is about.
이런식으로 단어가 나눠지면서 줄바꿈이 되네요.
단어의 나눔현상 없이 아래와 같이 단어 단위로 줄바꿈이 되게 하고 싶습니다.
In your introduction, you need to let the readers and markers of your report know why the
report is important and what exactly the report is about.
답변 2
word-break:break-all을 적용하신건 아닌지? word-break:break-all은 문자기준 줄바꿈이고
word-break:keep-all이 단어기준 줄 바꿈입니다.
그런데 영어는 기본이 단어 기준 줄바꿈이라서 한글 혼용이 아니면 word-break를 굳이 적용 안해줘도 될겁니다.