1
Das Problem ist egal, was ist in chat_ttc
es wird immer 300px sein.Div automatisch nimmt seine maximale Breite
Snippet:
.chat_ttc {
max-width: 300px;
word-break: break-word;
background: #e5e5e5;
margin-left: 70px;
position: relative;
border-radius: 15px;
border-bottom-left-radius: 0px;
padding: 4px;
padding-left: 6px;
letter-spacing: 0.6;
}
<div class="froma_tc">
<div class="chat_ttc">D</div>
</div>
Dank hilft es half! – Papaa
Sie können es als richtig markieren. Und ja: div ist ein Block-Level-Element, also wird es seine max. Google Inline vs Block für mehr dazu. –