The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › spacing for image
http://codepen.io/seraphzz/pen/bymgG
The problem I have is when you expand the window the image gets cropped of by the next “post” div. I need the “post” div that contains the image to grow in width in order to accomodate the larger image.
Thank you!
Okay, soory for not providing enough info. Basically I need “post” div to resize the width to match the image. Am I making sense?
Change width for div.post from pixel to % Example:
.post { background: #ccc; height: 90%; **width: 50%;** float: left; }
Thank you very much my friend!