Simple code to remove spacing between fields in Gravity Forms:

.gform_wrapper ul.gform_fields li {
margin: 0px!important;padding:0px!important;
}