web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / HTML Text box, Font an...
Power Apps
Answered

HTML Text box, Font and Alignment

(0) ShareShare
ReportReport
Posted on by 373

I have an HTML Text box that is pulling from a SharePoint list. I am trying to fix the font and align it center. I figured out the font size but I am having trouble trying to figure out how to get it aligned center.

 

This is my code:

"<p><font size=40px>" & Last(FirstN('Audit Questions',1)).Questions & "</p>"

Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @leslie_rivera 

    Try this

     

    "<p style='text-align:center'><font size=40px >" & Last(FirstN('Audit Questions',1)).Questions & "</p>"

     

  • Verified answer
    MathewM Profile Picture
    on at
    "<center><p><font size=40px>" & Last(FirstN('Audit Questions',1)).Questions & "</p></center>"
  • leslie_rivera Profile Picture
    373 on at

    @MathewM Thank you! That worked perfectly!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 482 Most Valuable Professional

#2
11manish Profile Picture

11manish 459

#3
Haque Profile Picture

Haque 331

Last 30 days Overall leaderboard