以下底為齊<style>div{display:inline;}</style>

<div style="width:200;height:100;background-color:red;"></div>

<div style="width:200;height:150;background-color:green;"></div>

<div style="width:200;height:200;background-color:blue;"></div>



以上底為齊<style>div{float:left;}</style>

<div style="width:200;height:100;background-color:red;"></div>

<div style="width:200;height:150;background-color:green;"></div>

<div style="width:200;height:200;background-color:blue;"></div>
arrow
arrow
    全站熱搜

    以我為中心的宇宙 發表在 痞客邦 留言(0) 人氣()