WebSite X5Help Center

 
Werner F.
Werner F.
User

Ausdruck ist falsch zentriert - Email Forms  en

Autore: Werner F.
Visite 1109, Followers 1, Condiviso 0  
Parole Chiave: email,printout

The mail form should be changed from center to left: otherwise the printout is cutted on the right side. align = left instead of center

$ImMailer->setEmailType('html');
$ImMailer->setHTMLHeader('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' . "\n" . '<html>' . "\n" . '<head>' . "\n" . '<meta http-equiv="content-type" content="text/html; charset=utf-8">' . "\n" . '<meta name="generator" content="Incomedia WebSite X5 v10 - www.websitex5.com">' . "\n" . '</head>' . "\n" . '<body bgcolor="transparent" style="background-color: transparent;">' . "\n\t" . '<table border="0" cellpadding="0" align="left" cellspacing="0" style="border-collapse: collapse; padding: 0; margin: 0 auto; width: 700px;">' . "\n\t" . '<tr><td id="imEmailHeader" style="border-collapse: collapse; text-align: left; width: 700px; padding-bottom: 10px; background-color: transparent; margin-bottom: 10px;" width="700px"><img src="http://dksh.wffoto.ch/images/cggb857900o95s0c1g706c7c5petg7iz" style="width: 323px; border: none;" width="323px"></td></tr>' . "\n\t" . '<tr><td id="imEmailContent" style="min-height: 300px; padding: 10px; font: normal normal normal 9.0pt Tahoma; color: #000000; background-color: #FFFFFF; text-align: left; text-decoration: none; width: 700px;border-collapse: collapse; border-style: solid; border-color: #C00000; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0; border-bottom: none; border-left-width: 1px;background-color: #FFFFFF" width="700px">' . "\n\t\t");

Postato il
1 RISPOSTE
Incomedia
Claudio D.
Incomedia

Hello Werner,

This tag sets the cell in the center of the page and in case if it's printed it will be all visible and centered. In case it's printed the table should not cutted. It is adapting to the available space.

Have you tried to check the printer settings to see if the option Adapt to page width is active"?

Many thanks!

Leggi di più
Postato il da Claudio D.