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>
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 ?