Skip to content

Instantly share code, notes, and snippets.

@leechy
Created June 10, 2013 08:02
Show Gist options
  • Save leechy/5747192 to your computer and use it in GitHub Desktop.
Save leechy/5747192 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="*">
456 456 456 456 456
456 456 456 456 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