Madison Rails
CSS for the example table
* {margin: 0; padding: 0;}
body {font: 67.5%/1.5em Verdana, Arial, Helvetica, sans-serif;}
* html body {font: 75%/1.5em Verdana, Arial, Helvetica, sans-serif;}
table {border-collapse: collapse; width: 50em; border: 1px solid #666;}
th, td {padding: 0.1em 1em;}
caption {font-size: 1.2em; font-weight: bold; margin: 1em 0;}
col {border-right: 1px solid #ccc;}
col#albumCol {border: none;}
thead {background: url(table_header.jpg) repeat-x left center; border-top: 1px solid #a5a5a5; border-bottom: 1px solid #a5a5a5;}
/*The tbody style below adds scrollbars to the table ... you'll need to adjust the table width to accom. */
/* tbody {overflow: scroll; height: 100px;}*/
th {font-weight: normal; text-align: left;}
#playlistPosHead {text-indent: -1000em;}
.odd {background: #edf5ff;}
tr:hover {background-color: #3d80df; color: #fff;}
thead tr:hover {background-color: transparent; color: inherit;}
#table_ex {padding-left: 2em;}
Updated
on May 10, 2007 08:05
by
AC (71.238.81.164)