This page enumerates the various configurations of boxes in order to demonstrate how their interrelated margins are handled.
X
H1
H2
H3
V1
V2
V3