/    Sign up×
Community /Pin to ProfileBookmark

HTML signature in Outlook

Hello everyone,

I have written a HTML code to be displayed in a browser. This one works well but if i try to use this HTML page in MS Outlook as a signature, it doesn’t work at all
here is the code:

[code]<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML><HEAD><TITLE>gui Signature</TITLE>
<META http-equiv=Content-Type content=”text/html; charset=windows-1252″>
<META content=”MSHTML 6.00.2900.2722″ name=GENERATOR>
<STYLE type=text/css>BODY {
MARGIN: 0px
}
</STYLE>

<SCRIPT language=JavaScript>
<!–
window.onload = function(){

ratio = 133/595
window.signat.height = window.signat.width * ratio
}

window.onresize = function(){

ratio = 133/595
window.signat.height = window.signat.width * ratio
}

</SCRIPT>
</HEAD>
<BODY>
<DIV align=left>
<TABLE height=”100%” cellSpacing=0 cellPadding=0 width=”100%” align=left
border=0>
<TR>
<TD vAlign=top align=middle><IMG id=signat height=”100%”
src=”http://img402.imageshack.us/img402/6053/baniereemailtsc8cx.jpg”
width=”100%” ,> </TD></TR></TABLE></DIV></BODY></HTML>
[/code]

I know that this section of the forum deals with HTML, not javascript but the problem is due to javascript (which causes the jpeg to be resized, when the window is resized) , Outlook do not recognize it?
What kind of language shall i use to solve my problem?

Thanks a lot ?

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@FangOct 17.2005 — Forget using any language, except HTML in emails. If they are allowed in a mail agent the JavaScript will be blocked (if the receive has any sense) by their Internet security features.

Sending emails with JavaScript included could get you black listed.
Copy linkTweet thisAlerts:
@JPnycOct 17.2005 — What Fang said. Don't even try using any procedural languages in emails. Only people with malicious intent are out there doing that, and if you do it you'll be grouped with them.
Copy linkTweet thisAlerts:
@guimetzauthorOct 17.2005 — Ok i have heard u but how can i put a jpeg signature in the bottom of my page which is automaticaly resized in order to fill in the full width of the e-mail window without using programing?

Shall i use MS outlook programming?

Thanks
Copy linkTweet thisAlerts:
@FangOct 17.2005 — &lt;img alt="sig" src="sig.jpg" height="50" width="100%"&gt;
Don't forget most users have images blocked to prevent spamming.
×

Success!

Help @guimetz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...