correcting the broken display of the table

The code was made with div inside tables which is not compatible -> using tr instead