Hello.

I am trying to send HTML newsletters and it works fine in most email clients except Lotus Notes 8.

Problem:

Table size get converted to 100% width even though set to 640. I have tried to encapsulated everything into one table. Tried the following:

<table width=640>
<table width="640">
<table cellpadding=5 width=640>
<table cellpadding="5" width="640">

Apparently Lotus Notes render it like this:

<table width=3D100%>

Of course the table has be formatted correctly like so:

<table>
  <tr>
    <td>
      Foobar
    </td>
  </tr>
</table>

3 answers

Cudos 0
0
points
This was chosen as the best answer

I found the error. Lotus Notes apparently have an issue with width defined in <td> tags from time to time eg <td width="300">. Removing that fixed the layout. It doesn't seem possible to consistently repeat the error. Just to clarify, this might give you problems:

<table width="600">
  <tr>
    <td>
    <table>
      <tr>
        <td width="300">
          Foo
        </td>
        <td width="300">
          Bar
        </td>
      </tr>
    </table>
    </td>
  </tr>
</table>

Where as this will work better:

<table width="600">
  <tr>
    <td>
    <table>
      <tr>
        <td>
          Foo
        </td>
        <td>
          Bar
        </td>
      </tr>
    </table>
    </td>
  </tr>
</table>
Answered almost 7 years ago by Cudos
danwellman 5600
0
points

Have you tried wrapping the outer table in a div element and setting width:640px; ..? That might do it...

Answered almost 7 years ago by danwellman
  • Yup. Tried that and it failed. Cudos almost 7 years ago
0
points

Try creating a single-celled table and setting the width of the cell, then nest the rest of your stuff within it.

If you haven't read it, check out: Rock Solid HTML Emails on 24 ways: http://24ways.org/2009/rock-solid-html-emails.

Answered almost 7 years ago by Josh Habdas