0

For the life of me I can't figure out why nothing will centre.

Screenshot This image explains better than I could about what I want.

I want to centre all fields without changing which way around the kanji appear (For some reason the {{Expression}} field keeps flipping when I try to centre.

http://pastebin.com/PqEN9xMT

AstroCB
  • 12,337
  • 20
  • 57
  • 73
Rehn
  • 1
  • 1
  • 2
  • It seems I can only move it with padding-right and things like that. Anything else seems to flip it from vertical text. – Rehn Mar 09 '15 at 04:47

1 Answers1

2

In your Templates wrap the Expression field with a div, give the div a class, and then center it with css styling.

If you want the absolute center of the main window try:

Front Template:

<div class='center-me'>
    {Front}
</div>

Styling:

.center-me {
    width: 100px;
    height: 100px;

    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
}  
DrLulz
  • 146
  • 1
  • 9