Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts

    HTML email in blackberry aligns all text center

    Hey all,

    I'm putting together an HTML email and when checking it with a Blackberry, all the text is aligning center due to the setup to make the email itself center. I've tried adding <p align="left">, a <div align="left"> and text-align as well to no avail. Any help is appreciated.

    Thanks

    Code:
    <!doctype html>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>xxx</title>
    <style type="text/css">
    body {
    font-family: arial;	
    margin: 0;
    padding: 0;
    color: #ffffff;
    }
    p {
    font-family: arial; 
    font-size: 17px;
    margin-bottom: 1em;
    }
    </style>
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center">
    <table width="600px">
    <tr>
    <td style="color: #ffffff; padding: 0; margin: 0; font-size: 17px; font-family: arial">
    <table width="100%" cellpadding="20" style="background-color: #002030">
    <tr>
    <td style="text-align: left; color: #ffffff; font-size: 17px; font-family: arial" align="left">
    <div align="left">
    <span style="font-size: 48px; font-weight: bold">xxx </span><span style="font-size: 48px">xxx</span><br/>
    <span style="color: #fcd127; font-weight: bold">xxx</span><br/>
    xxx<br/>
    xxx
    <br/>
    xxx<br/>
    <br/>
    <span style="font-size: 15px; font-weight: bold">xxx</span>
    </div>
    </td>
    </tr>
    </table>
    <img src="hotel.jpg" title="" alt="" border="0">
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    </html>

  • #2
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did you have any luck solving this? I have the same issue

  • #3
    New Coder
    Join Date
    Feb 2013
    Posts
    37
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Greetings,

    I do see that the first table's column is set as <td align="center"> that will center all of the text and other content.

    You may try adding the CSS "text-align: left" to the second table's first column in the inline CSS.

    I hope this helps.

  • #4
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No luck still


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •