Allignment is not coming properly on other mail box ?

Hello expert,
below is my code,
This text is coming in mail but when i am forwarding this mail to  outlook or gmail in that case
below text  are  not coming properly
<pre><font face="Times New Roman" ><table border="1" style="width:600px">
<tr>  <td>ABC </td><td>EEE: +88-2-999-0909 </td><td>ABC *946-8078</td></tr>
<tr>  <td>BCC </td><td>EEE: +88-2-999-0909</td><td>ABC: *447-6540</td></tr>
<tr>  <td>C</td><td>EEE: +88-2-999-0909<</td><td>ABC: *427-1414</td></tr>
<tr>  <td>D</td><td>EEE: +88-2-999-0909<</td><td>ABC: *983-4292</td></tr>
</font></pre>
</table>

Open in new window

.

Displaying Like :

ABC                       EEE: +88-2-999-0909          ABC *946-8078
BCC                       EEE: +88-2-999-0909          ABC: *447-6540
C       EEE: ++88-2-999-0909          ABC: *427-1414
D       EEE: +88-2-999-0909          ABC: *983-4292

expected: alignment should be proper from left for every  column from left. here it is not looking proper what i have given here. but it should be proper alignment.
ABC                       EEE: +88-2-999-0909          ABC *946-8078
BCC                       EEE: +88-2-999-0909          ABC: *447-6540
C                          EEE: +88-2-999-0909         ABC: *427-1414
D                          EEE: +88-2-999-0909          ABC: *983-4292

Regrads
Thomos
deve_thomosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
email clients are notorious for screwing with embedded html, so it may be out of your control. with that said, you may want to try specifying a fixed with for each of your columns and see if that helps. also, your html is invalid, your <pre> tags are not correctly placed, and neither is your font tags. try something like this:

<table border="1" style="width:600px; font-family: Times New Roman;">
<tr>  <td style="width:200px;" >ABC </td>
<td style="width:200px;">EEE: +88-2-999-0909 </td>
<td style="width:200px;">ABC *946-8078</td></tr>
<tr>  <td style="width:200px;">BCC </td>
<td style="width:200px;">EEE: +88-2-999-0909</td>
<td style="width:200px;">ABC: *447-6540</td></tr>
<tr>  <td style="width:200px;">C</td>
<td style="width:200px;">EEE: +88-2-999-0909<</td>
<td style="width:200px;">ABC: *427-1414</td></tr>
<tr>  <td style="width:200px;">D</td>
<td style="width:200px;">EEE: +88-2-999-0909<</td>
<td style="width:200px;">ABC: *983-4292</td></tr>
</table>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RobOwner (Aidellio)Commented:
Outlook uses Word to render webpages and gmail strips a lot of formatting out.

This is the bible when it comes to sending html emails: https://www.campaignmonitor.com/css/

I did a heap of email templates and ended up using campaign monitor for sending any marketing material on email.    The principles are still the same when it comes to sending formatted content.

So what I suggest is if how it looks is important then you should either create a pdf or other relevant document and attach that, even an image will work.  It's not ideal but email tries to do too much when it comes to displaying messages, it should stick to just sending/receiving them.  The singing telegram didn't last long did it *laughing*
0
deve_thomosAuthor Commented:
Thanks a lot...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.