I'm struggling to contain text within the parent's div as it keeps overflowing. I attempted using
element.style {
text-overflow: ellipsis;
overflow: hidden;
}
but unfortunately, it didn't work.
Take a look here at my JSFiddle link. It seems like the DD element is extending outside the div. How can I keep it contained inside without setting a fixed width?