treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Email newsletter formatting trouble

  • Hi there,

    I have a problem with styling a dynamically generated newsletter correctly.

    Aside from the state of current e-mail programs and their lacking implementations of CSS, I shall try to explain my problem with not too many words:

    1. I have a Wordpress Newsletter Plugin for Wordpress, and I want to make my own theme.
    2. A requirement here is: the newsletter will use the function of dynamically pulling posts from the database. Hence I get a generated div with a list of posts.
    3. Since the support for literally any type of CSS selector is poor and not even present in Gmail, I have to use inline styles.
    4. The problem: I cannot put inline styles in the elements that are generated. There is no option for that in the plugin, nor can I use CSS selectors. Therefore , I can't style the list of posts that is dynamically generated in the newsletter.

    I hope I explain my problem clear enough. I'm banging my head against the wall over this issue but I have discovered no way of doing this.

    Any thoughts or ideas?

    Best regards,

    Jelmer

  • I intended to use markdown to make a list, but apparently that didn't work out. Hope it's still clear like this.