Solved

html e-mail template with tables not keeping a fixed width

Posted on 2011-09-30
6
201 Views
Last Modified: 2012-06-27
Greetings,

I have a simple html file that I am trying to use as an e-mail template.

However when I use it as an e-mail it doesn't retain the fixed width that I have set.

It seems to put a large buffer between a picture and some text in the table cell next to it. And the width of the whole table isn't fixed properly.

When I browse to the html file it looks proper.  I have tried sending it as an html e-mail from ms word / outlook and also through the mail chimp system.

First I thought it must be a factor of using word/outlook.  But when I imported the page into mail chimp it looks ok in the preview but then when I recieve the message in outlook I have lost the fixed width of the page.

Basically I'd like to know the trick to creating a fixed width html document that stays fixed width when it is mailed.

Thanks very much.

Sky

0
Comment
Question by:Schuyler Kuhl
  • 4
6 Comments
 

Author Comment

by:Schuyler Kuhl
ID: 36894505
I found that if I nested tables the interior tables would keep the width fixed.

I was never able to make the primary table work to set the fixed width of the message.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36895767
We would need to see your code to help you.
0
 
LVL 2

Expert Comment

by:SHOAB
ID: 36896034
HI,

use this type to table

<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
</tr>
</table>

thank you any modification call me - 9953958553
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:Schuyler Kuhl
ID: 36896455
Yeah thanks.  I know how to define the width of a table.  It is just that it wasn't staying to those dimensions.

Thank you.
0
 

Accepted Solution

by:
Schuyler Kuhl earned 0 total points
ID: 37196102
I switched to MailChimp.com and my normal html templates work properly now.

Thank you.
0
 

Author Closing Comment

by:Schuyler Kuhl
ID: 37218651
This is what I did to resolve the issue.  The other suggestions were not relevant.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question