
Announcements
Hi all, can someone please tell me how do i get rid of the extra column at the very top? I am just looking to create a simple two columns tables. The header is in the first column and I would like it to be in bold.
CSS
<style>
table {
background-color: #EEEEEE;
width: 80%
text-align: left;
border-collapse: collapse;
}
table td, table th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table tbody td{
font-size:13px;
}
</style>
Output:
What I want:
This probably isn't the right area to ask CSS questions, however since you need to have the headers not as the first line but as the first column you should use this code:
<style>
table td:nth-child(1) {
font-weight: bold;
}
table td{
border:1px solid black;
}
</style>
You need to aim for the first TD child