change layout from HTML tables to CSS divs