.editcourse th,
.editcourse td,
.generaltable th,
.generaltable td,
#page-admin-course-manage .generalbox th,
#page-admin-course-manage .generalbox td,
#attempts th,
#attempts td,
.environmenttable th,
.environmenttable td,
.forumheaderlist td,
.forumheaderlist th {
    border: 1px solid #ddd;
    border-collapse: collapse;
}

#page-admin-course-manage .generalbox th,
.editcourse .header,
.results .header,
#attempts .header,
.generaltable .header,
.environmenttable th,
.forumheaderlist th {
    background: #f3f3f3;
    border-bottom-width: 2px;
}