table, td, th {    
    border: 1px solid #ddd;
    text-align: left;
}

table {
    border-collapse: collapse;
    width: 100%;
}

tr:first-child{background-color: #f2f2f2}

th, td {
    padding: 8px;
}