Posted By

marcio on 04/18/10


Tagged

css text TEXTO CSS3 ellipsis text-overflow


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

kubaitis


CSS Ellipsis, text-overflow


 / Published in: CSS
 

URL: http://www.smashingmagazine.com/2010/03/01/css-and-the-future-of-text/

  1. li {
  2. white-space: nowrap;
  3. width: 100%;
  4. overflow: hidden;
  5. text-overflow: ellipsis;
  6. -o-text-overflow: ellipsis;
  7. -ms-text-overflow: ellipsis;
  8. }

Report this snippet   <

You need to login to post a comment.