html - 如何在 Bootstrap 中将行居中?

标签 html css twitter-bootstrap

我只需要知道如何将标题为“安全快速地雇用”和“无人员配备机构”的列居中。请忽略网站的其余部分,因为它尚未完成。代码如下,开发网站的链接在这里:http://staging.liberationmedical.com/new-design/

<div class="container-fluid firstcontainer" style="margin-top: 150px;">   
    <div class="row row-centered">
        <div class="col-md-6">
                <h2>Hire Safely &amp; Quickly</h2>
                <p class="icon-text1">Only credentialed professionals can use Liberation<br>Medical. As a member, you can review profiles, skills<br>and job bids and select candidates; you can hire<br>locum tenens, nurses and other contract medical<br>professionals.</p>
                <p class="icon-text4-subtext"><a class="links" href="#">Sign up for free</a></p>
        </div><!-- col-md-3 -->
        <div class="col-md-6">
                <h2>No Staffing Agencies</h2>
                <p class="icon-text3">With Liberation Medical, you'll be able to engage<br>directly with contract medical professionals,
avoid<br>staffing agency fees, and evade miscommunication<br>and mis- representation. Post unlimited jobs and<br>have unlimited contracts for free!</p>
                <p class="icon-text4-subtext"><a class="links" href="#">Sign up for free</a></p>
        </div><!-- end col-md-3 -->    
    </div><!-- end row -->
</div><!-- end container-fluid -->

最佳答案

如果您熟悉 CSS,您可以在 CSS 文件中编辑相应的标签。在这里看看:http://www.w3schools.com/cssref/pr_text_text-align.asp

关于html - 如何在 Bootstrap 中将行居中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28308620/

相关文章:

javascript - 为网页创建可点击的圈子日期

jquery - CSS/JQuery 两行水平菜单

html - 如何使用 Bootstrap 将 3 个 div(带有 SVG 轴的 Canvas )居中

javascript - 常见问题 Bootstrap 示例 --> 不工作, Bootstrap 上有脚本错误

java - 如何进行流体盒过渡

html - 有没有工具可以获取 css 类并使它们内联?

javascript - 再次按下空格时需要间隔暂停

html - 在 html 和 css 中使导航菜单自动缩放到浏览器宽度

html - 我正在尝试制作两列,但第二列的位置不正确

css - Bootstrap 使用响应式 img 更改文本垂直位置