Prevent paragraph from increasing the width of a floated parent
问题 I often find myself using code blocks for inline article images like the following: ...article text. <div class="article-image right" style="width: 250px;"> <img src="..." width="250" alt="" /> <p class="caption">Potentially long image caption</p> </div> More article text... Or, the more succinct HTML5 version: ...article text. <figure class="right" style="width: 250px;"> <img src="..." width="250" alt="" /> <figcaption>Potentially long image caption</figcaption> </figure> More article text..