If you dont want this to happen you can force the browser to only show one copy of the picture with background repeat. Similarly if we apply background image to body it will cover whole screen with some margin which will be removed by background size to cover.
The background repeat property sets ifhow a background image will be repeated.
Background image no repeat fill. Height and the multiple background. No repeat which i did for the above example. It will repeat as many times as necessary until it covers the whole element. If the message window is wider or higher than the inserted background picture it will repeat itself instead of filling or stretching the image to the message window like a desktop wallpaper. Setting the background repeat property to no repeat will not repeat the image horizontally or vertically. Outlook 2007 and outlook 2010.
You can still insert a picture as a background image and not have it repeat itself via the following workaround. Four techniques are explored on accomplishing a full page background image that conforms to our exceptions. The background size property specifies the size of the background images. We can repeat an image horizontally by setting the background repeatrepeat x or repeat vertically. There are four different syntaxes you can use with this property. The default behavior of a background image is to repeat across the full width and height of the element that its applied to.
Of course youll only see this effect if the background image is smaller than its container. No white space scales as needed retains aspect ratio centered and more. The background image is placed according to the background position property. This method isnt perfect and it might cause some uncovered space but by using the background position property you should be able to eliminate the problem and still accommodate older browsers. Since the image when resized in this way does not cover every bit of blank space the browser will automatically duplicate it across the remaining area ie tile it. By default a background image is repeated both vertically and horizontally.
Setting no repeat is optional. Width of the image second value. Here is an example that uses a background image for the body of a page and which sets the size to 100 so that it will always stretch to fit the screen. The keyword syntax auto cover and contain the one value syntax sets the width of the image height becomes auto the two value syntax first value.