Skip to content

Instantly share code, notes, and snippets.

@saki
Created September 11, 2008 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save saki/10168 to your computer and use it in GitHub Desktop.
Save saki/10168 to your computer and use it in GitHub Desktop.
undefined
.table {
display: table;
width: 95%;
border-spacing: 2px 2px;
border-color: gray;
border-collapse: collapse;
}
.table-caption {
display: table-caption;
text-align: center;
}
.table-body {
border-color: inherit;
display: table-row-group;
vertical-align: middle;
}
.cell-header {
font-weight: bold;
}
.cell, .cell-header {
display: table-cell;
vertical-align: inherit;
padding: 4px;
border: 1px solid #ccc;
}
.row {
display: table-row;
vertical-align: inherit;
border: 1px solid inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment