I want to limit a element to display only 1 line of text, with the remainder hidden (overflow:hidden), without setting a specific height. Is this possible with just CSS?
use display block so it won't go beyond your parent element.
p#foo{ white-space: nowrap; overflow: hidden; display: block; text-overflow: ellipsis; }