2013-08-16 78 views
0

我使用標籤製作頁面。而且我要在選項卡內製作標籤,現在我將它製作爲按鈕,因爲我不知道如何將它製作爲標籤。任何人都可以建議我如何讓它請。使用HTML5的標籤導航

下面是我的一段代碼;

<div id="container"> 
    <!-- Start Tabs !--> 
    <div class="tab-container"> 

    <div id="c1"> 
     <a href="#c1" title="Projects">Projects</a> <!-- This is your actual tab and the content is below it !--> 
     <div class="tab-content"> <!-- tab-container > div > div in the CSS !--> 
      <button id="create">Create</button> 
      <button id="edit">Edit</button> 
     </div> 
    </div> 
+0

你可以使用Bootstrap來實現這一點。 請參閱http://stackoverflow.com/a/16466547/2408648。 –

+0

@Florent Hemmi:Thanx :) – shefali

回答

0

只是使用CSS的按鈕,更短的給它化背景色或研究背景圖像,漸變的幫助,使其多,你還可以將DIV也是在按鈕的地方。就像你想要的那樣......它的教程也很容易出現