Hello,
I have a <h3> tag that uses .php to display titles. This <h3> tag only has enough space to display one line of text. Sometimes the title is too long to fit and the title goes into two lines. I would like to truncate the text after 20 characters. Is there an easy way to do this? Here is the code:
<h3><?php echo $this->htmlLink($cause->getHref(), $cause->getTitle()) ?></h3>
Thank you,
Ken