<!DOCTYPE html>
<html>
<head>
  <style>
		.mainDiv {
		  display: flex;
		}
		.childDiv {
		  display: flex;
		}
</style>
</head>
<body>
  <div class="mainDiv">
    <div class="childDiv">
      <table>
        <tbody>
          <tr>
            <td>td with text</td>
            <td>random content</td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</body>
</html>