I need to create a table with rounded corners and within the table only columns borders. There should be no border between the rows.
I tried to create the rounded corners but the collapse property should be collapse or the columns borders inside the table will be 2. If I keep the collapse property as separate as the other answers have suggested, the column borders will not collapse. I am not sure how to make this work.
table {
position: relative;
top: 80px;
left: 15px;
border: 1px solid #000000 !important;
border-collapse: collapse;
}
th,
td {
padding-left: 15px;
padding-right: 15px;
border-left: 1px solid #d4d4d4;
border-right: 1px solid #d4d4d4;
}
<table class="status-table">
<tr>
<td>RA-STATUS</td>
<td>Due Date</td>
<td>Assigned To</td>
<td>Last Updated</td>
</tr>
<tr>
<td>Open-Draft</td>
<td>04/20/2012</td>
<td>John Doe(for you)</td>
<td>03/28/2012 | By: John Doe</td>
</tr>
</table>