You could use display:inline;
on the div
elements in question.
In reply to question edit:
Use display:inline
instead of display:inline-block
on your td span
.
In reply to comments:
If you really need to keep it as display:inline-block
, you can do it like this:
td span {
display:inline-block;
text-overflow:ellipsis;
overflow:hidden;
width:100%;
}