Skip to content

Instantly share code, notes, and snippets.

@tohansg
Created February 16, 2014 16:23
Show Gist options
  • Save tohansg/9036758 to your computer and use it in GitHub Desktop.
Save tohansg/9036758 to your computer and use it in GitHub Desktop.
Simple <table> styling
table{
font-family:Courier;
}
th{
background:#BADA55;
padding:40px;
box-sizing:border-box;
}
tr{
background:lightblue;
}
td{
width:100px;
height:60px;
text-align:center;
}
<table>
<th colspan="3">Table Header</th>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
</table>
// alert('Hello world!');
{"view":"separate","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