Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2016
    Posts
    23
    Member #
    53773

    Can you help me center some text in my emails?

    At the end of my emails I put my mailing address and then an unsubscribe link. I would like to have my mailing address (which is all on one line) and unsubscribe link centered in the page instead of on the left side. But when I highlight them and click the center text button it centers the entire email for some reason. It won't let me center just those two things. Could someone here look at the code and tell me what to add or change to make that happen?

    This is the code from one of emails:


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <style type="text/css">td td { line-height: 1.3; } @media only screen and (max-width: 599px) { td td { width: 100%; } }</style>
    </head>
    <body>
    <table cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td width="600">
    <table cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td style="font-family: sans-serif; color: #222; padding-bottom: 20px;" align="left">Hey %FIRSTNAME%,<br><br>Imagine being able to hide a knife on yourself that nobody would find. Even if you were held at gun point and searched for weapons, they wouldn't find it.<br><br>Why?<br><br>Because it's built in to your belt buckle which by all appearances looks like a regular belt buckle. Nobody would suspect that it conceals a knife.<br><br>If you had to, you could use your secret knife to turn the tables on your enemy or escape at the opportune time.<br><br>Speaking of opportune time, don't miss this opportunity to get your ultimate everyday carry knife that nobody knows you have.<br><br>Get one now while there's still some left:<br><br>==&gt; <a href="https://www.smartprepping.com/go/knifebelt">https://www.smartprepping.com/go/knifebelt</a> <br><br><br><br>David Smart<br><br><a href="http://smartprepping.com">http://smartprepping.com</a> <br><br>Post: %SENDER-INFO-SINGLELINE%
    <p><a href="%UNSUBSCRIBELINK%">Unsubscribe</a></p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </body>
    </html>

  2.  

  3. #2
    Junior Member
    Join Date
    May 2018
    Posts
    5
    Member #
    58980
    The center some text in HTML, just use <center></center> tags. Otherwise I usually use CSS.

  4. #3
    Junior Member
    Join Date
    Apr 2016
    Posts
    23
    Member #
    53773
    Oh, didn't realize it was that easy - I saw the align="left" up there in the style tag and thought I would have to do the same to that.

    Thank you.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:43 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com