what do i need to do to the followin html code to keep the image from repeating? I’m trying to edit a stationary template in MS Office/Outlook 2003. Thanks for any help.
I don’t think that Outlook handles embedded stylesheets like that (I don’t do any “HTML email” so I wouldn’t know, but I do know that HTML email is a royal pain in the neck to work with). But rather than using the deprecated background attribute, I’d go ahead and inline that as a style, and then set it to not repeat, like so - AFTER you remove the BODY tag from the table:
<body style="background: #669 url('SeaMarbl.jpg') top left no-repeat;">
<table width="100%">
<tr>
<td colspan="2"></td>
<td> </td>
</tr>
</table>
</body>
If you’re only going to be sending to other Outlook users, it’s safe to use embedded stylesheets like that. However, some other email clients (namely Gmail and Hotmail) will not accept style declarations, forcing you to use inline styles (such as Dan’s body style there) if you want your style to be seen.
If you’re only going to be sending to Outlook users, again, using the deprecated ‘background’ attribute is a must (as Outlook 2007 does not support the CSS background-image property). Background-repeat is also not supported in Outlook 2007, so there is no way to stop the default behaviour of repeating in both directions.