Can anyone help me out with the page-wrap div for this website?
I need to set it around all the content in the middle of the page, so I can set a color background.
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.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.