As an overall solution to bottom margin of modules, I tried to just remove the bottom padding of my container module so that the bottom spacing will just be determined by the bottom margin of the elements inside it like so:
.module {
padding: 20px 20px 1px;
}
.element-1,
p, ul, form { margin-bottom: 25px; }
It works if all my last elements (even nested ones) are block elements (their bottom margins collapse). However, if it so happens that within the nested elements, there is an inline-block element, the bottom margin doesn't collapse so it sort of adds up to the total bottom margin.
See jsFiddle: http://jsfiddle.net/GHQrX/
What is the solution to collapse margin of inline-block elements?