你要想用css,你要用到定位,把背景放到最下面一层,内容放到上面,如果这样的提示你还写不出来的话,你就别写了,直接用PS给拼到一块吧.
看看吧
<div style="position:relative">
<div style="width:50%height:500pxfloat:leftbackground:red"></div>
<div style="width:50%height:500pxfloat:leftbackground:blue"></div>
</div>
<div style="font-size:36pxposition:absoluteleft: 0pxtop: 0px">内容</div>,
自己改改
<style>.content {height:100pxwidth:900pxmargin:0 auto}
.content div {float:leftwidth:180pxtext-align:center}
.content img {width:75pxheight:75px}
</style>
<div class="content">
<div><img src="style/1.png" alt="" title="" /><p>1</p></div>
<div><img src="style/2.png" alt="" title="" /><p>2</p></div>
<div><img src="style/3.png" alt="" title="" /><p>3</p></div>
<div><img src="style/4.png" alt="" title="" /><p>4</p></div>
<div><img src="style/5.png" alt="" title="" /><p>5</p></div>
<div style:"clear:both" ></div>
</div>