replaced tables and divs