adding dotts infront of long text in css code example Example: css add dots if text too long text-overflow: ellipsis; white-space: nowrap; overflow: hidden;