Center a circle in 1x1 template field

I want to horizontally and verticaly center the circle as in the line below.
Color change works but vertical-align does not.

<div style="color:{{msg.payload}}; vertical-align: baseline" <i class="fa fa-circle"></i></div>

Any help very much appreciated.

With margin auto I'd go for simplicity

<div style="color:{{msg.payload}}; margin:auto;" <i class="fa fa-circle"></i></div>
1 Like

Super! It works.
Many thanks for your quick response.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.