cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JR-BejeweledOne
Super User
Super User

HTML Text Control spaces between words

It's Monday and I haven't had enough coffee for this.

 

I am working with an HTML text control and need to add additional spaces between the first word and the rest of the text.   Unfortunately it seems that regardless of how many spaces I put into the wording, the control only recognizes one.

 

What am I missing?  Both of these formulas render the same in the control.   

 

"<b>Licensee</b> " & varRecord.Licensee     - 1 space

"<b>Licensee</b>     " & varRecord.Licensee   - 5 spaces

 

HTMLtext.png

 



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.
1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @JR-BejeweledOne 

This is standard way that HTML works. The answer is to specify non-breaking spaces with &nbsp; sequence.

Your formula would look like this.

"<b>Licensee</b> &nbsp;&nbsp;&nbsp;&nbsp;" & varRecord.Licensee

 

View solution in original post

3 REPLIES 3
timl
Super User III
Super User III

Hi @JR-BejeweledOne 

This is standard way that HTML works. The answer is to specify non-breaking spaces with &nbsp; sequence.

Your formula would look like this.

"<b>Licensee</b> &nbsp;&nbsp;&nbsp;&nbsp;" & varRecord.Licensee

 

View solution in original post

JR-BejeweledOne
Super User
Super User

I have actually used that in the past, but like I said, Monday and not enough coffee.   I couldn't remember it for the life of me and even doing a search for it, didn't return that value.   Thank you!



If you like this post, give it a Thumbs up. If it answered your question, Mark it as a Solution to enable other users find it.
timl
Super User III
Super User III

You're welcome @JR-BejeweledOne! Glad this is working for you now.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,381)