customize web form

customize web form

how to minimize the form element gaps in web forms ?