Class / Display / Visibility Differences

The following three examples demonstrate the difference between toggling classes and toggling the display or visibility properties. You will find that the Visibility Example leaves behind borders when the expected behavior would be that the whole row - borders and all - would disappear.

Class Example

Customer Information
First Name:
Last Name:
Address 1:
Address 2:
City:
State:
Zip:
Phone:
Email:
Shipping Information
Same as above
First Name:
Last Name:
Address 1:
Address 2:
City:
State:
Zip:

Display Example

Customer Information
First Name:
Last Name:
Address 1:
Address 2:
City:
State:
Zip:
Phone:
Email:
Shipping Information
Same as above
First Name:
Last Name:
Address 1:
Address 2:
City:
State:
Zip:

Visibility Example

Customer Information
First Name:
Last Name:
Address 1:
Address 2:
City:
State:
Zip:
Phone:
Email:
Shipping Information
Same as above
First Name:
Last Name:
Address 1:
Address 2:
City:
State:
Zip: