Skip to content

Instantly share code, notes, and snippets.

@Neppord
Created December 30, 2010 00:27
Show Gist options
  • Save Neppord/759272 to your computer and use it in GitHub Desktop.
Save Neppord/759272 to your computer and use it in GitHub Desktop.
table {
border-collapse:collapse;
border-spacing:0px;
}
td{
text-align: center;
vertical-align: middle;
padding:5px;
}
td:nth-child(1){
text-align: left;
}
td:nth-child(2){
text-align: right;
}
.LayoutContainer{margin: auto;}
.LayoutContainer > tbody > tr > td { vertical-align: top;}
.LayoutContainer table tr:nth-child(odd){
background-color: #FEC;
}
.LayoutContainer table tr:nth-child(even){
background-color: #FEA;
}
th {
background-color: darkbrown;
text-align: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment