Is it possible to specify table/column/cell widths of a HTML table in Outlook using proc print?
I've tried defining templates and specifying via styles and the tagattr option. Using the style= option on proc print.
Formatting emails for certain clients (Outlook, gmail, yahoo etc) is a job role all in itself. There are books written on the subject, but a primer can be found here. The short answer is that no, it is not possible using proc print
.. instead you are going to have to generate very specific HTML and CSS in order to get around the rules applied by the Outlook rendering engine.
For instance, Outlook will strip all of your default styles - they have to be applied as attribute specific styles (eg <table style="width:300px">
) .
Further tips here, but many can be found with a keyword search on "outlook email styles"..