<!doctype html>
<title>Example</title>
<style>
.imageBox {
padding: 30px;
height: 150px;
border: 1px solid black;
background-image: url("/pix/samples/bg2.png");
}
</style>
<div class="imageBox">
<p>This div element has a background-image. To stop it repeating see the <a href="/css/properties/css_background-repeat.cfm">background-repeat</a> property.</p>
</div>