2016-05-03 9 views
0
.helpdesk ul { 
width:750px; 
list-style-type:none; 
list-style-position:outside; 
margin:0px; 
padding:0px; 
text-align: center; 
bottom: 100px; 

} 
.helpdesk li{ 
padding:12px; 
border-bottom:1px solid #eee; 
position:relative; 
text-align: center 
bottom: 100px; 
center: 20px; 
} 

.helpdesk h2 { 
margin: o; 
display: inline; 
} 


.helpdesk label { 
width:150px; 
margin-top: 3px; 
display:inline-block; 

padding:3px; 
text-align: center; 
bottom: 100px; 
} 





    <ul> 
    <li> 
    <h2>Help Desk</h2> 

    </li> 
    <li> 
    <label for="name">Name:</label> 
    <input type="text" name="name" placeholder="John Doe"/> 
    </li> 

<li> 
    <label for="email">Email:</label> 
<input type="text" name="email" placeholder="[email protected]" /> 
</li> 
<li> 
<label for="website">Phone Number:</label> 
<input type="text" name="Phone" placeholder="###-###-####" /> 

</li> 
<li> 
<label for="message">Message:</label> 
<textarea name="message" cols="40" rows="6"> 
</textarea> 
</li> 
    <li> 
    <button class="submit" type="submit">Submit </button> 
    </li> 
    </ul>  

は、どのように私は私のページを中央揃えが、私はそれを得るように見えることはできませんページの真ん中の一番下に私のULおよびLiを移動する方法を把握しようとしている下

でそれを置くことができますそうですね、これをやることはありますか?私は下の中央を必要とするとき、私は

+0

に、そもそもどのフィドルやコード、または任意の例を.helpdeskするスタイルルールmargin:autoを追加し、オンライン探してみましたし、そのだけ左または右下の私の下を与えていますか? ?? – RahulB

+0

あなたのHTMLを追加してください。 –

+0

ul周辺のhtmlコンテナはどのように見えますか? – tnschmidt

答えて

0

は、ULセレクタ

関連する問題