I want to put one image and one block with two
in one line, but if use float on image, it will be out of that big block' border. I don't want to add height to the big block, because sometimes image doesn't exit. like this link: images and (p1 + p2 ) in one line. http://verygif.com/bbs/b/src/138002270032.jpg sorry for can't post images.
big_block {
border:2px solid #333;
}
<div class="big_block">
{if img exit }<img .... />{/if}
<p>sometext,sometext,sometext,sometext</p>
<p>fulltext,fulltext,fulltext,fulltext</p>
</div>