IMG.displayed { display: block; margin-left: auto; margin-right: auto } ...