Anki Forums

Anki Mobile not centering correctly

I am on version 2.0.79 (20079.1). Text is not centering correctly:

On Windows (version 2.1.48) it centers correctly:

AnkiWindowsCenteredCorrectly

The styling is:

.card {font-family: arial; font-size: 45px; text-align: center; color: green; background-color: white;}

The card syntax is:






{{English}}

[{{Article}} {{Deutsch}}] [{{Frequency}}]

The card syntax did not come through. Here it is:






{{English}}

[{{Article}} {{Deutsch}}] [{{Frequency}}]

cardsyntax

You could try

<div>{{English}}</div>

This works! Thank you very much!