I am trying to center align text inside a user macro. The other formatting works fine but center being ignored.
My latest attempte uses this:
<span style="color: #132840; font-size: 9px; text-align: center;">
some text
</span>
Thanks all.
The span element defaults to the length of its content, not the container into which it is placed. If you want the length to match that of the container, then you have to use the div element. So if you change the content to:
<div style="color: #132840; font-size: 9px; text-align: center;">some text</div>
Then it should work.
As it does.
Thanks very much.
It looks like you're new here. Sign in or register to get started.