Parent div height breaks

The outer box is not set to clear its children. You can force this by setting Overflow: hidden on the parent box. That forces the browser to consider floated children when it calculates the parent’s bounds.

Walter

On Jun 5, 2018, at 4:14 PM, billy kimmel email@hidden wrote:

I have a div with an image and text inside. When I float the image so that the text is to the right of it the parent div, the height breaks and the image overflows.
See example: “Latest News” - House of Cards image

Why? Help.

Billy

http://www.smartytest.com/Sarah/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options