converting table to div - not working