how to ensure that complete image as background in div html code example Example: background image css .selector { background-image: url(image.png); }