2016-07-27 5 views
-1

今、私はhtmlファイルを書いています。これは、今後のプログラミングのためにMS Wordファイルの見通しを複製したいだけです。しかし、どのように次のイメージを達成するために? This oneどのようにhtml/cssでMSの単語のタブ機能を達成するには?

私はちょうどアンダースコアを使用するので、2つのコロンを同じ位置に置くことはできません。 ありがとうございます。


これで、thisしか達成できません。このコードにより、 :あなたの助け

.box{float:left; margin-right:10px;} 
 
input{border:0;border-bottom:1px solid #000; background: transparent; 
 
    outline: none;}
<div> 
 
    <div class="box"> 
 
     <lable style="display:inline-block; min-width:50px;">Applicant’s signature</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 
    <div class="box"> 
 
     <lable style="display:inline-block; min-width:50px;">Date</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 
    <div class="box"> 
 
     <lable style="display:inline-block; min-width:50px;">Applicant’s name</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 

 
</div>

ありがとう!

+0

あなたは、私たちはあなたを助けることができるので、あなたのコードをポストする必要があります。 –

答えて

1

.box{float:left; margin-right:10px;} 
 
lable{display:inline-block; min-width:50px;} 
 
input{border:0;border-bottom:1px solid #000;}
<div> 
 
    <div class="box"> 
 
     <lable>Date</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 
    <div class="box"> 
 
     <lable>Name</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 
    <div class="box"> 
 
     <lable>Name</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 
    <div class="box"> 
 
     <lable>Name</lable> 
 
<span>:</span> 
 
    <input type="text"> 
 
    </div> 
 
</div>

+0

Bhai naye logon ko bi練習ka mauka dona ... ham aise hiは答えを尋ねることはできません。StackOverflow ka maqsad yeah nahi hai koibi aise bina kuchコード表示kare ... hame unhe回答kaise denge。これは非常に重要です。 –

+1

次回はもっとうまくいくよ –

+0

おかげさまで!しかし、私はいくつかの問題に直面し、私は私の質問のためにそれを更新しました。 – alexwong820

関連する問題