CSS盒子模式详解

CSS盒子模式详解
用CSS排版

<style type="text/css">
<!--
#photoList img{
   height:80;
   width:100;
   margin:5px auto;
}
-->
</style> <div id="photoList">
<img src=http://tech.ddvip.com/2007-07/"01.jpg" />
<img src=http://tech.ddvip.com/2007-07/"02.jpg" />
<img src=http://tech.ddvip.com/2007-07/"03.jpg" />
<img src=http://tech.ddvip.com/2007-07/"04.jpg" />
<img src=http://tech.ddvip.com/2007-07/"05.jpg" />
</div>
  不用CSS排版

<img src=http://tech.ddvip.com/2007-07/"01.jpg" width="100" height="80" align="middle" />
<img src=http://tech.ddvip.com/2007-07/"02.jpg" width="100" height="80" align="middle" />
<img src=http://tech.ddvip.com/2007-07/"03.jpg" width="100" height="80" align="middle" />
<img src=http://tech.ddvip.com/2007-07/"04.jpg" width="100" height="80" align="middle" />
<img src=http://tech.ddvip.com/2007-07/"05.jpg" width="100" height="80" align="middle" />
 

posted on 2011-09-26 09:46    阅读(156)  评论(0编辑  收藏  举报