Background image in html message

  • Thread starter Alexander S. Manenko
  • Start date
A

Alexander S. Manenko

I need to create an HTML invitation (programmaticaly). The HTML page contains
a table with a background and various images in the table. Images are
displayed but the background of the table is not.

This is short example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Invite Mail Ripl.com</title>
<style type="text/css">
<!--

...

#table {
background: url(cid:{BackgroundUrl}) left top no-repeat #000000;
width:527px;
height: auto;
border: 0;
}

...

-->
</style></head>

<body>
...
</body>
</html>

So, background: url(cid:{BackgroundUrl}) left top no-repeat #000000; dont't
work. Other e-mail clients works with this solution.

Why is this? Is there any way to fix this?

I'm using Outlook 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top