<style type="text/css">
*,body {
margin:0; padding:0;
}
div.grid {
margin:0; padding:0;
background:#fff url(/content/img/css/grid.gif) repeat top left;
width:400px; height:400px;
}
div.box1 {
margin:0; padding:20px;
background-color:orange;
width:100px; height:100px;
}
</style>
<div class="grid">
<div class="box1"></div>
</div>