The problem you’re having is because parent elements doesn’t expand to fit child elements, if those child elements are floated.
Try applying a class for clearfix to the wrapper: https://css-tricks.com/snippets/css/clear-fix/
Doing so will make the page wrapper expand all the way to fit children, floated elements.
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.