How to limit length of the text
Saturday, June 16th, 2007Working on a site often there is a problem to limit length of pathway or heading of article since very long text can corrupt design of page. Usually when the text turns out too long, that does not get into one line, and it is carry over to the next line. However, for some reason very few people knows, that it is possible to tune up CSS so that the long text was cut off till the certain length, and in the end was ellipsis. For this purpose it is enough to prescribe in style (an example for pathway):
(more…)

