Sunday, 8 September 2013

How to truncate words that are too long with CSS3?

How to truncate words that are too long with CSS3?

Is there the possibility to cut off a word that runs out of a containing
box (like a div or paragraph) with CSS3? The white-space: nowrap; property
does not work for me because my text is written in multiple lines and
white-space: nowrap; makes a one-liner out of my text.
Here is a screenshot of my problem:

No comments:

Post a Comment