我会在哪里添加中心块来居中我的内容?

时间:2017-04-05 21:46:58

标签: html twitter-bootstrap-3

我会在哪里添加center-block来将我的内容集中在我的按钮编码和放大器中文件编码?

1

<a href="#contact-me" target="_blank">
      <button id="linkbutton">Find out more about me</button>
      </a>

2

<p  style=" margin: 12px auto 6px auto; font-family: Helvetica,Arial,Sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block;">   <a title="View CV on Scribd" href="https://www.scribd.com/document/343939101/CV?secret_password=HBP5kUMRKN6CbzPevWHo#from_embed"  style="text-decoration: underline;" >CV</a> by <a title="View Liam Docherty's profile on Scribd" href="https://www.scribd.com/user/353571708/Liam-Docherty#from_embed"  style="text-decoration: underline;" >Liam Docherty</a> on Scribd</p>
      <iframe class="scribd_iframe_embed" src="https://www.scribd.com/embeds/343939101/content?start_page=1&view_mode=scroll&access_key=key-EnRdVJEYwlLWyOUwxs9h&show_recommendations=true" data-auto-height="false" data-aspect-ratio="0.7729220222793488" scrolling="no" id="doc_46092" width="600" height="500" frameborder="0"></iframe>
   </body>

1 个答案:

答案 0 :(得分:0)

您可以将所有HTML包装在<div class="container">中,这将强制您将所有信息放入一个不错的框中。如果您正在使用引导程序,这当然取决于此。希望有所帮助!

相关问题