2 answers
Ie two blocks - 1 on top of another? Try:
<div class="olololo"><div class="trololo"></div><div>
css:
.olololo{ z-index:2; background: url(ololo.jpg) repeat-x center center; width:100% height:500px; } .trololo{ z-index:1; margin-left:auto; margin-right:auto; width:700px; height:700px; background: #000; }
Index 2 will be above index 1.
|
body{ background: url(link_to_pic.jpg) repeat-x center center; }
or am I misunderstood? Then explain your drawing.
- What is gray is a block. And the fact that shaded, this is where the image should be placed. - iwowa
|