# Align to the right with rich text

**URL:** <https://community.glideapps.com/t/align-to-the-right-with-rich-text/62050>\
**Category:** Ask for Help\
**Created:** [May 23, 2023, 3:51pm UTC](https://community.glideapps.com/t/align-to-the-right-with-rich-text/62050 "2023-05-23T15:51:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Byder\_App](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/byder_app/32/56553_2.png) [@Byder\_App](https://community.glideapps.com/u/Byder_App)\
**Post date:** [May 23, 2023, 3:51pm UTC](https://community.glideapps.com/t/align-to-the-right-with-rich-text/62050/1 "2023-05-23T15:51:19Z")

</div>

Hi everyone! I’m trying to use rich text to align one part of my text to the right and can’t seem to manage keeping it all in the same row. I’m currently trying this:

```auto
@price **<p style="text-align: right">A @distance de ti </p>**

```

The problem is it’s inserting a line break before p (paragraph)

Does anyone know if it’s possible to do this while keeping it all in the same row?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 23, 2023, 7:31pm UTC](https://community.glideapps.com/t/align-to-the-right-with-rich-text/62050/3 "2023-05-23T19:31:25Z")

</div>

You could try a ‘div’ tag instead of a ‘p’ tag. Or even an ‘a’.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [May 23, 2023, 7:52pm UTC](https://community.glideapps.com/t/align-to-the-right-with-rich-text/62050/4 "2023-05-23T19:52:28Z")

</div>

I would use span:

```auto
<p style="text-align:left;">
    This text is left aligned
    <span style="float:right;">
        <b>This text is right aligned
   </b></span>
</p>

```
