<div class="container">
<table>
<caption><small><strong>Fixed Table Layout:</strong> Table width is set to 814px. Column widths are also specified. Text does not wrap. </small></caption>
<tr>
<td class="col-1"><strong>The width of the first columns is set to 200px. Text doesn't wrap.</strong></td>
<td class="col-2">width of second column is 400px. </td>
</tr>
<tr>
<td>content of third cell</td>
<td>content four</td>
</tr>
</table>
</div>
@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;
}
table,
td,
th {
padding: 1em;
border: 1px solid #ddd;
text-align: left;
}
table {
background-color: white;
table-layout: fixed;
width: 814px;
white-space: nowrap;
}
caption {
caption-side: bottom;
font-style: italic;
}
.col-1 {
width: 200px;
}
.col-2 {
width: 400px;
}