changed float to inline-block
changed layout with divs to table