Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have created HTML report in Nprinting using images and scheduling to the managers on them outlook mail body .
My problem is that all charts are showing one by one in down side .
My requirement is I want to show that chart as parallel levels.
Current Output.
Expected Output
How is your HTML content looks like i believed you use <br> for objects?
Yes..
I have used below code
<html>
<body>
<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>
<U><FONT color="#0000FF" size="10"> </FONT></U>
<b> </b>
<P align="left"><img src="%%CH3020%%" alt="CH3020"></P>
<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>
<U><FONT color="#0000FF" size="10"> </FONT></U>
<b> </b>
<P align="Left"><img src="%%CH3021%%" alt="CH3020"></P>
</body>
</html>
Try this?
<html>
<head>
<style>
#First
{
Position : Relative;
Float : Left;
Left : 20 Px;
Right : 10 Px;
}
</style>
</head>
<body>
<div ID = "First">
<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>
<U><FONT color="#0000FF" size="10"> </FONT></U>
<P align="left"><img src="%%CH3020%%" alt="CH3020"></P>
</div>
<div>
<P align="center"><FONT face="Times New Roman" color="#0000FF"> </FONT></P>
<U><FONT color="#0000FF" size="10"> </FONT></U>
<P align="Left"><img src="%%CH3021%%" alt="CH3020"></P>
</div>
</body>
</html>
Hi Anil,
It is coming as parallel in Nprinting preview option only but in mail body it is not come as required.
Thanks
Great, You can use Padding like below or change it to Right style around 30 pixel
<style>
#First
{
Position : Absolute;
Float : Left;
Left : 20 Px;
Right : 10 Px;
Padding : 2px 4px 6px 8px;
}
Now it is totally merging ....
But what about my mail body why it is not showing in mail body
You must use format as "HTML Text" if it is in Text / HTML File just disable and enable the HTML Text... In fact, I never used N printing in my career. So then, I learned HTML for future purpose only.. If you need any help in HTML, CSS, JS please Recommend me. I will surely help you.. And you must move this thread to N printing from current..
Note - If you feel to mark as helpful and going forward your solution resolved please close this thread.
You could try outputting the entire sheet as an image, rather than building it in HTML.
This way, you can position the objects exactly how you want them to appear in the email.
Like below, the sheet can be inserted by right clicking on images, and then finding the sheet id
I found one simple article - How to Embed an HTML Report into the Body of an E-mail Message