Prevent a Background Image From Repeating in Windows Mail

Make your email look more professional

Old-style wallpaper
Beverkd / Wikimedia Commons / Creative Commons

Inserting an image into the background of an email you write in Windows Mail is easy. If the default behavior—the image being repeated to the right and down—is fine with you, you need not do anything further to adjust your image. Simply write your email and send it.

If you prefer your background image to appear only once, however, you'll have to tweak the source code of your message a bit.

Setting a Background Image to Appear Only Once

To prevent a background picture you have added to a Windows Mail message from repeating:

  1. Create a message in Windows Mail and insert a background image.
  2. Go to the Source tab. You'll then see the source coding that's behind your message. This is the unformatted text of your message and the instructions to email programs for displaying it properly. In the next steps, you'll tweak those instructions a bit.
  3. Locate the <BODY> tag.
  4. Insert style="background-repeat:no-repeat;" after <BODY> to prevent the image from repeating.
  5. Go back to the Edit tab. Complete your email message, and send it.

Example

Say you've added the desired background image to your email. In the source code, the <BODY> tag now contains the location of the background image you're using, so it will look something like this:

<BODY bgColor=#ffffff background="C:\Program Files\Shared Files\Microsoft Shared\Stationery\background.jpg">

Left as is, the image will repeat as many times as possible both horizontally and vertically. To make this image to appear only once (i.e., not repeat at all), add the style parameter above just after the <BODY> tag, like so:

<BODY style="background-repeat:no-repeat" bgColor=#ffffff background="C:\Program Files\Shared Files\Microsoft Shared\Stationery\background.jpg">

Making an Image Repeat Vertically or Horizontally

You also can make an image repeat across or downward (as opposed to both, which is the default). Simply insert style="background-repeat:repeat-y;" for a vertical repeat (denoted by the y), and style="background-repeat:repeat-x;" for horizontal (denoted by the x).