Lining up table header borders with table body borders
I'm going through codecademy's Full Stack Dev course. The project I'm on currently is to develop a cheat sheet which includes a table.
I want to have it such that the "borders" in the table head row line up vertically with those in the body column, with those in the head row inheriting the background colour, and those in the body taking the assigned rgb.
It currently looks like the picture. Here is my CSS code:
Probably forgetting something really stupid. Any help massively appreciated.
I want to have it such that the "borders" in the table head row line up vertically with those in the body column, with those in the head row inheriting the background colour, and those in the body taking the assigned rgb.
It currently looks like the picture. Here is my CSS code:
Probably forgetting something really stupid. Any help massively appreciated.

