<div class="wrap">
  <div class="child">
    I'm am element in table cell. I have the very long content in me. And I may be occup more lines in some situation.
  </div>
</div>
body {
  background: #f06d06;
  padding-top: 40px;
}
.wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}
.child {
  width: 150px;
  color: #666;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.