Skip to content

Instantly share code, notes, and snippets.

@Samnan
Forked from juareznjunior/gist:669067
Created June 24, 2011 11:19
Show Gist options
  • Save Samnan/1044595 to your computer and use it in GitHub Desktop.
Save Samnan/1044595 to your computer and use it in GitHub Desktop.
jquery.ui.table
.ui-table {width:100%}
.ui-table thead tr,
.ui-table tfoot tr,
.ui-table-header { background: #cccccc url(images/ui-bg_glass_75_cccccc_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #000000; outline: none;text-shadow:1px 1px 1px white}
.ui-table th,.ui-table td {font-weight:bold;text-align:left;padding:0.5em 0.3em;border:1px solid #ffffff;border-width:0 0 1px 1px}
.ui-table thead th {border-width:0 0 1px 1px;text-align:center}
.ui-table thead > tr > th:first-child,.ui-table tfoot > tr > th:first-child {border-width: 0 0 1px}
.ui-table tbody > tr > td:first-child {border-width: 0 0 1px 0}
.ui-table tbody td {font-weight:normal}
.ui-table .text-center,.ui-table .text-center * {text-align:center}
.ui-table tbody > tr:nth-child(odd) {background-color:#f6f6f6}
.ui-table tbody > tr:nth-child(even) {background-color:#eeeeee}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment