IMG.displayed { display: block; margin-left: auto; margin-right: auto; margin-top: auto; margin-bottom: auto; vertical-align: middle }