2017-04-05 78 views
-1

我在哪裏添加center-block來將我的內容放在我的按鈕編碼中&文檔編碼?我在哪裏可以添加中心塊來居中我的內容?

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

<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> 
+0

這基本上是您再次發佈的相同問題。首先從一些基本的HTML教程開始,然後轉到CSS ..一旦你對HTML/CSS基礎知識有了更好的理解,Bootstrap將更有意義。 – ZimSystem

回答

0

你可以換所有的HTML的一個<div class="container">這將迫使所有信息變成一個漂亮的盒子。這當然取決於你是否使用引導程序。希望有所幫助!

相關問題