• Resolved Valery Kondakoff

    (@valery-kondakoff)


    Hello!

    I have set images to float:left and when there is a short post the image height exceeds the post height. Here is a screenshot.

    Is there a way to display the border below the image even if there is not enough text in post?

    Here is what I have in my CSS:

    li.pis-li {
    	border-bottom: 1px solid #777;
    }
    .pis-title {
    	text-align: left;
    	font-weight: bold;
    	font-size: 140%;
    	padding-top: 20px;
    }
    .pis-utility {
    	text-align: right;
    	font-size: 75%;
    }
    .pis-excerpt img {
    	float: left;
    	margin-right: 10px;
    	max-height: 200px;
    	width: auto;
    }

    Thank you!

    https://www.ads-software.com/plugins/posts-in-sidebar/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help! Float images height exceeds posts height. Any way to fix it?’ is closed to new replies.