My apologies for my lack of knowledge in this area, but I am struggling to make my table look correct on my webform.
I begin by creating a table:
<table>
</table>
And I want to add a border. The traditional way is to use the 'border' attribute like so:
<table border="1">
</table>
However, it seems that asp.net considers the border attribute to be outdated. I have attempted to style it using CSS...
.table{ border: 1px solid black; border-collapse: collapse; }
...but unfortunately, this only adds a border around the entire table rather than each individual cell.
All I am aiming for is a standard-looking table with lines outlining each cell. Could someone kindly guide me on the correct approach to achieve this?