cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to align text in the center in an HTML box?

I tried putting 

"<p style="text-align:center;">"

but it didn't seem to recognize this syntax. 

1 ACCEPTED SOLUTION

Accepted Solutions

Jessica,

 

Please let me know if you still need help with this. 

 

Thanks,

Kranthi

 

-----

Please mark it as a solution if that worked for you.

View solution in original post

4 REPLIES 4
Responsive Resident
Responsive Resident

I used HTML tables to horizontally align fields so something like this:

 

<table>
<tr><td> data cell 1</td><td>data cell 2</td></tr>
<tr><td> data cell 1 row 2</td><td>data cell 2 row 2</td></tr>
etc...
</table>

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Anonymous
Not applicable

@KranthiTupakula  Hi, mine is not a table, just a text box thought. I just want to align them center !

Try this.

"<p style='text-align:center'>Hello test</p>"

 

this should work.

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Jessica,

 

Please let me know if you still need help with this. 

 

Thanks,

Kranthi

 

-----

Please mark it as a solution if that worked for you.

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (29,556)