close

:::CSSの知識をもっと深める30+2の小技テクニック集:::

實用節錄萬歲  


1.DIV垂直置中

<div class="box">
         <img>我是圖片啦,可以置中了說!!
</div>
div.box{displaytable-cell;}

2.並排的H4和P

sample:
本日記事(2011.4.1)

<div>
  <h4>本日記事</h4>
  <p>(2011.4.1)</p>
</div>
div h4, div p {display: inline;}

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 阿摸摸 的頭像
    阿摸摸

    。❤~MÖ~❤。 摸摸口味 樂活ing

    阿摸摸 發表在 痞客邦 留言(0) 人氣()