# Text-indent not supported?

**URL:** https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053
**Category:** UXP Plugin API
**Tags:** css
**Created:** [July 16, 2019, 10:21pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053 "2019-07-16T22:21:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)
#### Post date: [July 16, 2019, 10:21pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/1 "2019-07-16T22:21:42Z")

</div>

I’ve tried using `text-indent` in the XD 21 pre-releases, but it doesn’t seem to work.

Can someone confirm this isn’t supported yet?

---

<div class="post-metadata">

### Author: ![stevekwak](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/stevekwak/32/48_2.png) [@stevekwak](https://forums.creativeclouddeveloper.com/u/stevekwak)
#### Post date: [July 17, 2019, 4:00pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/2 "2019-07-17T16:00:11Z")

</div>

@kerrishotts can confirm that for you

---

<div class="post-metadata">

### Author: ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)
#### Post date: [July 22, 2019, 4:00pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/3 "2019-07-22T16:00:29Z")

</div>

`text-indent` is not supported at the moment.

---

<div class="post-metadata">

### Author: ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)
#### Post date: [July 22, 2019, 6:28pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/4 "2019-07-22T18:28:34Z")

</div>

OK, thanks. Good to know. It’d be great to have someday…

---

<div class="post-metadata">

### Author: ![Rafo](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@Rafo](https://forums.creativeclouddeveloper.com/u/Rafo)
#### Post date: [June 10, 2020, 12:24pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/5 "2020-06-10T12:24:50Z")

</div>

Still? That’s odd! Is there a plugin to override this issue?

---

<div class="post-metadata">

### Author: ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)
#### Post date: [June 10, 2020, 12:40pm UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/6 "2020-06-10T12:40:31Z")

</div>

No, this is just something UXP will have to implement eventually.

---

<div class="post-metadata">

### Author: ![Ali](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/ali/32/21_2.png) [@Ali](https://forums.creativeclouddeveloper.com/u/Ali)
#### Post date: [June 11, 2020, 4:05am UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/7 "2020-06-11T04:05:14Z")

</div>

I used `:before` in some plugin, worked fine. It might not work if the element is flex or something like that but mostly this will do.

This gives you 20px indentation, you can even have negative values:

```
p:before {
    content: '';
    margin-left: 20px;  
}
```

---

<div class="post-metadata">

### Author: ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)
#### Post date: [June 11, 2020, 10:43am UTC](https://forums.creativeclouddeveloper.com/t/text-indent-not-supported/1053/8 "2020-06-11T10:43:18Z")

</div>

That’s a clever workaround!
