Automatic Ellipsis with CSS

by
Annika Backstrom
in misc, on 16 October 2011. It is tagged #Web and #css. (history)

How do I keep forgetting about text-overflow: ellipsis? Maybe a blog post will help cement it in my memory.

{@style=border: 1px solid #000; width: 10em; padding: 0.2em; text-overflow: ellipsis; overflow: hidden;} {@title=I am the very model of a modern major general.} I am the very model of a modern major general.