<style>
                    .semesterheading th, td {
                        border: 1px solid black;
                        border-collapse: collapse;
                    }

                    .semesterheading th, td {
                        padding: 5px;
                        text-align: left;
                       border-collapse: collapse;
                    }

                    .semesterheading {
                        padding: 10px 0px;
                        background-color: lightgray;
                        text-align: center;
                        margin-top: 15px;
                        margin-bottom: 15px;
                       border-collapse: collapse;
                    }

                    .coursestable {
                        width: 100%;
						border-collapse: collapse;
                    }

                        .coursestable th {
                            border: 1px solid black;
                            border-collapse: collapse;
                            border: solid 1px black;
                            background-color: lightblue;
                        }

                        .coursestable td {
                            padding: 5px;
                            text-align: left;
                            border: solid 1px black;
                        }

                        .coursestable th:nth-child(3) {
                            text-align: center;
                        }

                        .coursestable th:nth-child(4) {
                            text-align: center;
                            width: 15%;
                        }

                        .coursestable td:nth-child(3) {
                            text-align: center;
                        }

                        .coursestable td:nth-child(4) {
                            text-align: center;
                            width: 15%;
                        }

                        .coursestable tfoot th:nth-child(2) {
                            text-align: right;
                        }
                </style>