在这个小提琴https://jsfiddle.net/spdvoc06/中,最后一行被拉伸以放置图像。任何人都可以帮忙解决它吗?我需要在文本之后放置第二个图像而不在行之间添加空格。
<img src="https://www.getdesignschool.com/wp-content/uploads/2015/07/up.jpg" alt="" width="56" height="44" />
<p style="display:inline;">I want to learn how to design but I spend so much time just reading I never remember it all. I need something that teaches me in practical way, and gives me feed-back on what I've created...
</p>
<img src="https://www.getdesignschool.com/wp-content/uploads/2015/07/bottom.jpg" alt="" width="56" height="44" />
答案 0 :(得分:1)
看起来需要添加所有内容才能实现这一目标,最后一张照片是&#34; vertical-align:top&#34;
我添加了它并为您复制了代码。希望这有帮助!
position:absolute
答案 1 :(得分:1)
将 [HttpGet, Route("SomeMethod/{id}")]
public string SomeMethod(string Id)
{
return "string";
}
[HttpGet, Route("SomeMethod/{id:int}")]
public string SomeMethod(int Id)
{
return "int";
}
添加到最后一张图片
答案 2 :(得分:0)
将display:inline-block
和width
添加到paragraph
会解决问题。