make background always cover entire page css code example Example: how to cover full background with css <div id="bg"> <img src="images/bg.jpg" alt=""> </div>