I want div containing a chat, similar to facebook. If the text content gets longer, ther is y-scroll, but:
- The focus shall be on the newest chat entry
- A very long word should do a line break
CSS
.chat{
width: 230px;
height: 310px;
margin-left: 10px;
background-color: grey;
border: solid 1px black;
overflow-y:scroll;
}