Home › Forums › CSS › Cannnot make top margin work on this div › Re: Cannnot make top margin work on this div
November 13, 2012 at 12:47 pm
#114215
Senff
Participant
The sidebar had a bottom margin of 0 and the testimonials has a top margin of 10. The result (the space between those two) will be the lowest of the two, because the testimonials is not floated. That’s normal behavior between two elements of which at least one is not floated: http://codepen.io/senff/pen/KdLlh