The div below has a set with of 900x400 pixels and an id of "demo".

<div id="demo">

The CSS:

div#demo {
  border: 1px solid blue;
  height: 400px;
  width: 900px;

  background-image: url(texture.jpg);
}