Just guessing, without seeing a working example or any of your CSS, but adding overflow: auto
to the article
element will cause it to contain its floated children:
article {
overflow: auto;
}
Example that may or may not relate to the CSS we can't see: http://codepen.io/paulroub/pen/opnfG