【发布时间】:2014-02-11 04:17:30
【问题描述】:
我遇到的问题是我有一张图片、一个图片来源和一个图片说明。当我将图像设置为不对齐时,它显示正常。但是对于垂直图像,当我将对齐设置为向右或向左时,标题分别显示在图像的左侧或右侧,而不是在其下方。
这是一个问题示例:http://ndsmcobserver.com/2014/01/van-de-casteele-drafted/
相关的代码是:
<div id="attachment_677" style="width: 442px" class="wp-caption alignnone">
<div class="media-credit-container alignright">
<a href="http://cdn.ndsmcobserver.com/wp-content/uploads/2014/01/20131124-Van-de-Casteele-vs-Wisconsin-Barbara-Kazanowska.jpg">
<img class="size-medium wp-image-677" alt="Former Irish center back Grant Van De Casteele passes in Notre Dame’s 4-0 win Nov. 24, 2013, against Wisconsin. Casteele was drafted by the Colorado Rapids in the first round of the MLS draft Thursday." src="http://cdn.ndsmcobserver.com/wp-content/uploads/2014/01/20131124-Van-de-Casteele-vs-Wisconsin-Barbara-Kazanowska-432x525.jpg" width="432" height="525" scale="0">
</a><span class="media-credit">Barbara Kazanowska</span>
</div>
<p class="wp-caption-text">Former Irish center back Grant Van De Casteele passes in Notre Dame’s 4-0 win Nov. 24, 2013, against Wisconsin. Casteele was drafted by the Colorado Rapids in the first round of the MLS draft Thursday.
</p>
</div>
谢谢大家!
【问题讨论】: