Just in case it makes any difference, here's the CSS I was given by
that site:
.responstable {
margin: 1em 0;
width: 100%;
background: white;
color: #024457;
border-radius: 10px;
border: 1px solid #167f92;
overflow: hidden;
}
.responstable tr {
border-top: 1px solid #167f92;
border-bottom: 1px solid #167f92;
}
.responstable tr:nth-child(odd) {
background-color: #eaf3f3;
}
.responstable th {
display: none;
border: 1px solid white;
background-color: #167f92;
color: white;
}
.responstable td {
display: block;
}
.responstable td:first-child {
padding-top: .5em;
}
.responstable td:last-child {
padding-bottom: .5em;
}
.responstable td:before {
content: attr(data-th) ": ";
font-weight: bold;
width: 8em;
display: inline-block;
}
@media (min-width: 480px) {
.responstable td:before {
display: none;
}
}
@media (min-width: 480px) {
.responstable td {
border: 1px solid #d9e4e6;
}
}
.responstable th, .responstable td {
text-align: left;
margin: .5em 1em;
}
@media (min-width: 480px) {
.responstable th, .responstable td {
display: table-cell;
padding: 1em;
}
.responstable th:first-child, .responstable td:first-child {
text-align: center;
}
}
body {
padding: 0 2em;
font-family: Arial, sans-serif;
color: #024457;
background: #f2f2f2;
}
h1 {
font-family: Verdana;
font-weight: normal;
color: #024457;
}
h1 span {
color: #167F92;
}
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/