3

I have centered text in a mailing that I'm setting up. The line length is too long for easy readability. How do I set up a maximum text width? Here's how it looks now:enter image description here

2 Answers 2

2

Insert a table with one row and one column and choose the desired width of the column when creating the table. Paste your plain text into the table - not an image with text, which will not appear correctly in some e-mail programs.

5
  • I tried using Joe's suggestion but couldn't make it work for me. I'm a newbie at HTML so this is a challenge! Elsewhere I found:Thanks, but I didn't like how the border looked on the text box.
    – Seiko
    Commented Jul 13, 2016 at 4:44
  • Sheesh please ignore previous comment, I wasn't finished editing and it timed out. I didn't like how the border looked on the text box. I tried using Joe's suggestion but couldn't make it work for me. I'm a newbie at HTML so slogging through this is a challenge! Elsewhere I found adding " !important " worked, but that moved the centered copy block to the left. Sigh. I'll probably send this out all align:left, unless anyone else has suggestions?
    – Seiko
    Commented Jul 13, 2016 at 4:51
  • Can you make the border transparent? Commented Jul 13, 2016 at 5:04
  • As I mentioned - newbie here - I don't know how to make the border transparent.
    – Seiko
    Commented Jul 13, 2016 at 19:43
  • To make border transparent, right click in the table, select Table Properties, set Border size to 0 Commented Jul 13, 2016 at 20:01
0
<td style="max-width:200px;"> 

is the safest way. You cannot floating text over a table background image in Outlook (which is still a huge user base). It's not difficult: it's impossible. Better to use graphic text and repeat in alt tag.

4
  • (the post above ate the actual HTML reference) Set the td tag style attribute max-width to whatever size you need is the safest way. You cannot floating text over a table background image in Outlook (which is still a huge user base). It's not difficult: it's impossible. Better to use graphic text and repeat in alt tag
    – xtylus
    Commented Jul 12, 2016 at 17:40
  • 1
    I fixed by using the {} formatter to show the code
    – Joe Murray
    Commented Jul 12, 2016 at 19:26
  • Joe - my answer, above, assumed that the 1 x 1 table,inserted below the cool flower image, would have the plain text that is below the image, not an image in the table. Which is how I would do it. Just to clarify. I'll update my answer. Commented Jul 12, 2016 at 21:17
  • A friend set this up for me, so I'm good for now. Thanks for participating in this adventure in HTML!
    – Seiko
    Commented Jul 14, 2016 at 2:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.