Is it possible to repeat the background image as a block? When I make the width of the div 100% and set the height to 70 pixels, this image repeats well, but the problem depends on the width of the window, sometimes half the element appears, and that makes no sense. I want the whole image to be repeated if the space, if not the repetition, should end. Is it possible?
#wrapper { background-color: #E3E3E3; position: relative; padding: 55px 0 0 0; } #notepadTop { display: block; position: absolute; top: -24px; left: 0; width: 100%; height: 70px; background: url('http://i.imgur.com/lbW0QX6.png') repeat; }
<div id="wrapper"> <div id="notepadTop"> </div> </div>
This image

source share