2014-12-04 47 views

回答

0

這裏是一個簡單的例子:

HTML

<ul> 
    <li> 
     <span>Phone<i>:</i></span> 
     <p>1212</p> 
    </li> 

    <li> 
     <span>Adress<i>:</i></span> 
     <p>here herehere here<br> here</p> 
    </li> 
</ul> 

CSS

ul{list-style:none;} 
ul li span{display:block; width:60px; float:left;} 
ul li span i{float:right; font-style: normal;} 
ul li p{margin-left:63px;} 

結果http://jsfiddle.net/vpnypteL/

+0

非常感謝!這就是我一直在尋找的! – Konstantin 2014-12-04 03:12:20

+0

@Konstantin樂於幫助:) – Cattla 2014-12-04 03:13:02

0

聯繫人信息是一個圖像。對於行間距,您可以使用&nbsp;或者你可以使用<pre>Text here</pre>顯示文字,你怎麼寫