cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
leslie_rivera
Helper V
Helper V

HTML Text box, Font and Alignment

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>"

1 ACCEPTED SOLUTION

Accepted Solutions
MathewM
Helper I
Helper I

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

View solution in original post

3 REPLIES 3
EddieE
Super User
Super User

@leslie_rivera 

Try this

 

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

 

MathewM
Helper I
Helper I

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

@MathewM Thank you! That worked perfectly!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,959)