From: Hassan Schroeder Date: 2011-12-09T06:46:14+09:00 Subject: Re: Truncation using Pixels On Thu, Dec 8, 2011 at 11:32 AM, Dhanuja B. wrote: > We need the truncation method to display the text in the browser. That's what CSS is for. Set a width on the containing element and use the overflow: hidden to truncate. There's a CSS3 attribute 'text-overflow' which provides an ellipsis on the end of line where truncation occurs; if you need to support older browsers you can use the :after pseudo-element. HTH, -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan