Skip to content

Instantly share code, notes, and snippets.

@leechy
Created June 13, 2013 10:53
Show Gist options
  • Save leechy/5772872 to your computer and use it in GitHub Desktop.
Save leechy/5772872 to your computer and use it in GitHub Desktop.
Untitled
body {
background: white;
}
.three-column {
border: 1px solid red;
width: 100%;
table-layout: fixed;
}
.left, .center, .right {
vertical-align: top;
}
.center {
width: 480px;
border: 1px dotted green;
}
.left, .right {
border: 1px dashed blue;
}
<table class="three-column">
<tr>
<td class="left" width="*">
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
123 123 123 123 123
</td>
<td class="center">
789
</td>
<td class="right" width="*">
456456456456456456456456456 456
456 456 456 456 456
456 456 456 456 456
</td>
</tr>
</table>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment