table {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border: 1px solid #ccc;
}

table td,
table th {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 3px 5px;
}

table th {
    text-align: center;
    background: #f5f2f0;
}