<div class="container">
    <caption><small>Table width is not set. Column widths are specified.</small></caption>
      <td class="col-1">The width of the first columns is set to 300px</td>
      <td class="col-2">width of second column is 200px</td>
      <td>content of third cell</td>
      <td>content four</td>
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900);
body {
  background-color: #f5f5f5;
  color: #555;
  font-size: 1.1em;
  font-family: 'Lato', sans-serif;

.container {
  margin: 40px auto;
  width: 800px;

th {
  padding: 1em;
  border: 1px solid #ddd;
  text-align: left;

table {
  background-color: white;
  table-layout: auto;

caption {
  caption-side: bottom;
  font-style: italic;

.col-1 {
  width: 300px;

.col-2 {
  width: 200px;