I have the following markup:
.container {
  top: 50px;
  width: 800px;
  height: 300px;
  background-color: red;
  position: relative;
  text-align: center;
}
.left {
  width: 500px;
  height: 100%;
  background-color: black;
  float: left;
}
.right {
  width: 200px;
  height: 100%;
  background-color: green;
  float: right;
}
.messageWrapper {
  overflow: hidden;
  bottom: 0;
  max-height: 100%;
  min-height: 20px;
  position: absolute;
  width: 170px;
}
.message {
  min-height: 20px;
  background-color: yellow;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}
<div class="container">
  <div class="left">
    ...
  </div>
  <div class="right">
    <div class="messageWrapper">
      <div class="message"></div>
    </div>
  </div>
</div>
This produces the following result:
What I am trying to do is to horizontally center yellou div in a green one. It should stay in the same vertical position, but sligthly move to right to be centered in green div.
This question gets more and more downvotes. I am asking all downvoters to post a comment under this question. This is just ridiculous. What is wrong with this question??

 
    