Replace layout tables with divs