I have written an email signature generator in PHP. The program spits out output in the following file format:
signature_file.htm
signature_style.css
signature_image_folder
The images and the stylesheet are linked within the htm file. This works when viewed in a web browser.
When I copy the files into the following path:
..\Documents and Settings\user_name\Application Data\Microsoft\Signatures\
for the signature to show up in the signature manager in Outlook 2010, it appears just fine – with the fonts, images, etc. except the table which holds all the information is stretched vertically. It seems the rows’ heights have been expanded to 100%.
Within the CSS file I have specified statically the table height, yet Outlook seems to be overriding it.
Also, when the signature is loaded from Outlook, it creates an *.rtf file. Within the rtf, the height is wrong as well.
I figured it out.
For some reason Outlook doesn’t understand layout styling such as padding. I had to Get rid of all heights of rows, columns etc, get rid of all padding and just have a ‘squashed’ table sized by solely its contents. Then where i needed some padding, i just
it as needed.
Unfortunately this was all for nothing (but knowledge), since in the end the marketing people at my work told me to use an uglier layout which doesn’t use tables… For shame! 🙂
Thanks jackJoe for all your help! 😀
Take care,
Piotr.