Fixed some css rules and html layout in the edit profile form that
resulted in some elements notworking as expected.