# Is there a way to truncate a text inside item-note?

**URL:** <https://forum.ionicframework.com/t/is-there-a-way-to-truncate-a-text-inside-item-note/3637>\
**Category:** ionic-v1\
**Created:** [May 1, 2014, 10:37pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-truncate-a-text-inside-item-note/3637 "2014-05-01T22:37:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kikados](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@kikados](https://forum.ionicframework.com/u/kikados)\
**Post date:** [May 1, 2014, 10:37pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-truncate-a-text-inside-item-note/3637/1 "2014-05-01T22:37:25Z")

</div>

Hello is there a way to ‘truncate’ text inside of item-note?  
Running 1.0.0-beta.3 “americium” (2014-04-30):  
here is my template:

```
<a class="item item-icon-left" href="mailto:really.longemailaddress@example.com">
  <i class="icon ion-ios7-email"></i>
   Email
  <span class="item-note truncate">really.longemailaddress@example.com</span>
</a>

```

i have tried following code with no success:

```
span.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; 
}

```

Thanks a lot in advance!

Great job on the framework!

---

<div class="post-metadata">

**Author:** ![maleeb](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/maleeb/32/140228_2.png) [@maleeb](https://forum.ionicframework.com/u/maleeb)\
**Post date:** [May 1, 2014, 10:56pm UTC](https://forum.ionicframework.com/t/is-there-a-way-to-truncate-a-text-inside-item-note/3637/2 "2014-05-01T22:56:33Z")

</div>

yeah why not, u need width in your css like “width: 100px;”

---

<div class="post-metadata">

**Author:** ![kikados](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@kikados](https://forum.ionicframework.com/u/kikados)\
**Post date:** [May 4, 2014, 3:15am UTC](https://forum.ionicframework.com/t/is-there-a-way-to-truncate-a-text-inside-item-note/3637/3 "2014-05-04T03:15:29Z")

</div>

Thanks, that worked!
