Why does align-text in an Annotation's HTML not seem to work in the platform?

Kevin Eldridge
Kilo Expert

I would like to center align text in an Annotation Text field on a form. However, it will not honor the style tag entered into the field, example:

<span style="text-align:center;">Item Details</span>

Is there something more I should enter than a span and style tag for an Annotation Info Box Blue or Red to make this work?

Thank you for your assistance,

Kevin Eldridge

1 ACCEPTED SOLUTION

Kevin Eldridge
Kilo Expert

I had to use the following code to get it to center the text:

<span style="text-align:center; display:block;">Item Details</span>

Thank you Nabil,

Kevin Eldridge

View solution in original post

1 REPLY 1

Kevin Eldridge
Kilo Expert

I had to use the following code to get it to center the text:

<span style="text-align:center; display:block;">Item Details</span>

Thank you Nabil,

Kevin Eldridge