convert tables to css divs