Author Topic: CSS Inline Styles  (Read 1442 times)

jac

  • Posts: 26
    • View Profile
CSS Inline Styles
« on: December 06, 2006, 03:48:23 am »
I am trying to design an email using inline styles.  No problem of course except when link tracking:  The link I want is as follows:

Code: [Select]
<a href="http://www.mydomain" style="color: #fff; font-family: Lucida Grande, Arial, Helvetica, Geneva, Verdana, sans-serif; font-size:11px; text-decoration:none;">Go to Web Site</a>

But I cannot work out how to do this using link Tracking.

I think inline styles are the way to do this most reliably as I have deconstructed a dozen or so email from big companies and this is how they do it.  Would a set of css styles (id or classes) within the head of the html work reliably?  Some documents I have read on this suggest they won't.

Any help really appreciated.

JAC

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
CSS Inline Styles
« Reply #1 on: December 06, 2006, 12:33:57 pm »
Greetings,

You would need to modify the message-code-processing "processmsg" function in admin.php to change the appearance of your tracked links.  I would need to add an option within ListMail for "link style" in order for such a change to not need reapplication after a future update.
Quote
I think inline styles are the way to do this most reliably as I have deconstructed a dozen or so email from big companies and this is how they do it. Would a set of css styles (id or classes) within the head of the html work reliably? Some documents I have read on this suggest they won't.

I have found that style sheets in the HEAD of the document are not read by services such as HotMail.  I -did- have success, however, placing the style sheet directly after the BODY tag.

Please let me know if I can be of further assistance!

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting