changed float to inline-table, and divs to ul