center an absolutely positioned element

div.display-message-wrapper {
}
div.display-message {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 80%;
  margin: auto;
}
<div class="display-message-wrapper">
    <div class="display-message">
        ...
    </div>
</div>