【发布时间】:2016-07-23 22:49:45
【问题描述】:
我试图将这些图像放在同一行,但图像会颠簸。 这是代码:
HTML
<div class="first-list">
<ul>
<li><a style="text-decoration:none;" href="http://trendwatching.com/freepublications/?utm_campaign=2016%20Global%20Consumer%20Trend%20Events&utm_content=Footer-FP&utm_source=email" target="_blank">
<img src="#" />TW:FREE
</a>
</li>
<li><a style="text-decoration:none;" href="http://spotters.trendwatching.com/?utm_campaign=2016%20Global%20Consumer%20Trend%20Events&utm_content=Footer-TW%3AIN&utm_source=email" target="_blank">
<img src="#" />TW:IN
<a/>
</li>
<li><a style="text-decoration:none;" href="http://trendwatching.com/about/" target="_blank">
<img src="#" />TW:ABOUT
</a>
</li>
</ul>
</div>
【问题讨论】:
-
我正在关注这个示例,但我的图像没有与 li 垂直对齐。 jsfiddle.net/ArondeParon/kg8HG
-
TW:FREE TW:IN TW:ABOUT 是密码???
-
这是一个输出,不是代码,你能把代码附在你的问题上吗?
-
@YagoLoko 作为新的 SO 成员请通过stackoverflow.com/help/how-to-ask