Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Floated image height Re: Floated image height

#138346
TheDoc
Member

That’s almost perfect, just need to make sure to include the `.contents` as well:

http://codepen.io/ggilmore/pen/cb6fcb195f2fc2bc09239d990839e9db

img {
float: left;
}

img ~ .contents p {
margin-left: 130px;
}

[Edit] ha! I see I was too slow!