p,span,label{ // on child display: inline-block; text-overflow: ellipsis; white-space: nowrap; width:10px; } div{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width:100%; }