Set text-overflow css style.