Solved

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

Posted on 2011-09-30
6
198 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:skykuhl
  • 4
6 Comments
 

Author Comment

by:skykuhl
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 82

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:skykuhl
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:
skykuhl 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:skykuhl
ID: 37218651
This is what I did to resolve the issue.  The other suggestions were not relevant.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
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 add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now