以下底為齊<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>
<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>
全站熱搜
留言列表