【发布时间】:2018-11-26 19:20:28
【问题描述】:
我有一个标题、段落和图像,我希望它们与段落上方的标题和右侧的图像对齐。当我运行它时,我会在水平行中获得 3 个元素
<div class="container">
<div class="row">
<h1 class="col-xs-3 paddingtop">Joselin</h1>
<p class="col-xs-3 bio">
Growing up in the Caribbean, as a young girl Joselin worked as a
coffee bean picker, giving her a profound insight into using only
the freshest, and highest quality coffee beans.
</p>
<img class="col-xs-6 meetus" src="meetus.jpeg">
</div>
</div>
【问题讨论】:
-
标题说要垂直堆叠;然后你说你想要右边的img;如果你运行 sn-p,它们会堆叠起来。是哪个?
-
我想将 h1 垂直堆叠在 p 上,图像在右侧,这是一本传记。它不会在我的网站上垂直堆叠。 stupefied-leavitt-948d09.bitballoon.com/meettheteam.html。如果你去见团队页面,你会明白我的意思
标签: html twitter-bootstrap vertical-alignment heading