add data-id tag to table and several css properties