p.breakhere { page-break-before: always; } table.grid { border-collapse: collapse; } table.grid td, table.grid th {border: 1px solid black;} /* Classes for table borders. Left: 1 Bottom: 2 Right: 4 Top: 8 */ table.league, table.grid { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; border-collapse: collapse; } table.league th {padding-left: 0.5em; padding-right: 0.5em; text-align: center} table.league td {padding-left: 0.5em; padding-right: 0.5em;} table.league td.B00 {border-top:none; border-right:none; border-bottom:none; border-left:none} table.league td.B01 {border-top:none; border-right:none; border-bottom:none; border-left:1px solid black} table.league td.B02 {border-top:none; border-right:none; border-bottom:1px solid black; border-left:none} table.league td.B03 {border-top:none; border-right:none; border-bottom:1px solid black; border-left:1px solid black} table.league td.B04 {border-top:none; border-right:1px solid black; border-bottom:none; border-left:none} table.league td.B05 {border-top:none; border-right:1px solid black; border-bottom:none; border-left:1px solid black} table.league td.B06 {border-top:none; border-right:1px solid black; border-bottom:1px solid black; border-left:none} table.league td.B07 {border-top:none; border-right:1px solid black; border-bottom:1px solid black; border-left:1px solid black} table.league td.B08 {border-top:1px solid black; border-right:none; border-bottom:none; border-left:none} table.league td.B09 {border-top:1px solid black; border-right:none; border-bottom:none; border-left:1px solid black} table.league td.B10 {border-top:1px solid black; border-right:none; border-bottom:1px solid black; border-left:none} table.league td.B11 {border-top:1px solid black; border-right:none; border-bottom:1px solid black; border-left:1px solid black} table.league td.B12 {border-top:1px solid black; border-right:1px solid black; border-bottom:none; border-left:none} table.league td.B13 {border-top:1px solid black; border-right:1px solid black; border-bottom:none; border-left:1px solid black} table.league td.B14 {border-top:1px solid black; border-right:1px solid black; border-bottom:1px solid black; border-left:none} table.league td.B15 {border-top:1px solid black; border-right:1px solid black; border-bottom:1px solid black; border-left:1px solid black} /* } */ /* Alignment Right: R Centre: C plus optional B for bold */ table.league td.R, div.R {text-align: right} table.league div.RB {text-align: right; font-weight: bold} table.league div.C {text-align: center} table.league div.CB {text-align: center; font-weight: bold; padding-top: 0.5em; padding-bottom: 0.5em;} /* Classes for match results */ col.PlayerName {width:12em} th.MatchPlayerName {text-align: center; font-weight: normal; border: 1px solid black} td.MatchPlayerName {text-align: left; border-left: 1px solid black; border-right: 1px solid black} th.MatchScore {text-align: center; font-weight: normal; border: 1px solid black} td.MatchScore {text-align: right; border-left: 1px solid black; border-right: 1px solid black} td.MatchTotal {text-align: right; font-weight: bold; border: 1px solid black} td.MatchTotalGain {text-align: right; border: 1px solid black} /* Classes for summary tables */ @media screen { col.DivName {width:12em} } /* No width specified for printers */ td.hometeam { text-align:center; } td.match { text-align:center; padding-left:0.5em; padding-right:0.5em; } td.awayteam { vertical-align:bottom; padding-left:0.5em; } td.match a { text-decoration: none; }