Replace tables by divs