Own stationary is coming repeatedly

G

Guest

Hello

I create my own stationary in Outlook 2003 with the following code:

=========== C O D E ==================
<html>

<head>
<style>
BODY {
font-family: Arial;
font-size: 10pt;
color: 000080;
margin-left: 25 px;
margin-top: 125 px;
background-position: top left;
background-repeat: no-repeat-y;
}
</style>
</head>

<body background="ABSTAT.jpg" style="background-attachment: fixed">

<body bgcolor="ffffff" style="background-attachment: fixed">

</body>

</body>

</html>

=========== E N D C O D E ==================

Its showing fine single picture in any browser or frontpage but when i apply
this stationary in outlook its showing the picture repeatedly. I dont want
the picture in titled format. I want the picture only once. This stationary
working fine in Outlook Express but not in Microsoft Outlook 2003, 2007.

I need help in this regard.

Thanks

Arslan-ul-Islam
 
S

Shane

Arslan,
I don't know why the code works in Outlook Express and not in Outlook, I am
hoping we can solve it here, though.
I have not used Outlook to make stationary (I use Notepad and make an HTML
file, then use that as stationary), but I wonder if your stationary works in
Internet Explorer???

I think it may be a combination of things.
First: I see you have three references to background repeating, and one is
confusing to me (repeat: no-repeat-y).
Second: Perhaps Outlook is unable to used 'fixed' as a command. I see
references to "no-repeat"

You might try removing all but one background reference, perhaps that will
work.

If not, try this Body tag:

=========== C O D E ==================

<body background="ABSTAT.jpg" bgcolor="ffffff"
style="background-repeat:no-repeat;">

=========== E N D C O D E ==================

I don't know much about using styles, so maybe it should not be in the body
tag, but in the style in your header.


Also, I found this information on how to make the image tile down or right
only, I include it in case it helps:

a.. To make the image repeat downwards, insert
'style="background-repeat:repeat-y"'.
a.. For the background image to repeat to the right, insert
'style="background-repeat:repeat-x"'.

Here is the site where I found the information:

http://webdesign.about.com/od/styleproperties/p/blspbgrepeat.htm

Shane
 

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