CSS or JS max. character <h2> and replace end with "..."

Posted by cr0z3r on Stack Overflow See other posts from Stack Overflow or by cr0z3r
Published on 2010-06-05T21:05:00Z Indexed on 2010/06/05 21:22 UTC
Read the original article Hit count: 145

Filed under:
|
|

Hey
I assume my title basically summed it all up.

I have a <h2> title, and I want it to have a max character property, be it CSS or javascript, so that whenever this maximum limit is passed, the title's end is replaced by ... (three dots).

Thank you very much in advance.
An example can be viewed here: http://themeforest.net/forums/thread/now-accepting-bargain-submissions/23205 (see the title)

P.S. Any idea why I had to create a new user? the login-feature through google doesn't recognize my previous user :(

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about css