#content { margin-left:auto; margin-right: auto; max-width:850px; padding-left: 10px; padding-right: 10px; } table { min-width: 100px; max-width: 400px; margin-left:auto; margin-right:auto; border-collapse: separate; border-spacing:0px 0px; table-layout: fixed; margin-top: 10px; margin-bottom: 10px; } td, th { border:thin; border-width: 0px 0px 1px 0px; border-color: lightgray; border-style: solid; padding-left: 5px; padding-right: 5px; } .table_label { width: 1pt; white-space: nowrap; font-weight: bold; text-align: right; } th { text-align: left; background-color: black; color: white; } td { padding: 5px; } td input { width:100%; } button { padding: 5px; margin: 2px; border:none; border-radius: 3px; background-color: black; color: white; } td button.view { float: right; } tr:nth-child(odd) {background-color: #f2f2f2;} h1 { background-color: black; padding-top:0.2em; padding-bottom:0.2em; color: white; text-align: center; } nav { text-align: center; background-color: black; padding:4px; margin-top: 2em; margin-bottom: 2em; } nav a { color: black; background-color: white; border-style: solid; padding:10px; text-decoration: none; margin: 1em; } nav a:hover, button:hover { background-color: lightgrey; } fieldset { max-width:40%; margin:auto; border-color: lightgrey; } div.align_centre { text-align: center; }